#5F6708

A color in the Yellow, Gold family

#5f6708 is a color in the Yellow, Gold family: RGB(95, 103, 8), HSL(65°, 86%, 22%), CMYK(8%, 0%, 92%, 60%). Closest named color: darkolivegreen. Contrast is 6.12:1 on white and 3.43:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#5f6708
RGBrgb(95 103 8)
RGB (legacy)rgb(95, 103, 8)
RGB %rgb(37% 40% 3%)
HSLhsl(65 86% 22%)
HSV / HSBhsv(65, 92%, 40%)
HWBhwb(65 3% 60%)
CMYKcmyk(8%, 0%, 92%, 60%)
CIELAB (D50)lab(41.66 -11.71 45.14)
LCHlch(41.66 46.64 104.54)
OKLaboklab(0.4903 -0.0457 0.0978)
OKLCHoklch(0.4903 0.108 115.03)
Decimal6252296

Properties

Color ToneYellow, Gold
Closest named colordarkolivegreen ΔE 2.7
Closest web-safe color#666600
Hue65°
Saturation (HSL / HSV)86% / 92%
Lightness (HSL)22%
Brightness or Value (HSV)40%
Luminance (Rec.601 / Rec.709)35% / 37%
Relative luminance (WCAG)0.1215
Red / Green / Blue95 / 103 / 8

WCAG 2.2 Contrast Ratio

On White (#ffffff)
6.12:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Fail
On Black (#000000)
3.43:1
AA Normal (4.5:1) · FailAA Large (3:1) · PassAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 80.4 / -21.4 · As background with white / black text: Lc -85.6 / 23.6

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #5f6708;
  --color-brand-oklch: oklch(49.03% 0.108 115.03);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(95 103 8 / 50%); }
/* Tailwind CSS */
<div class="bg-[#5f6708] text-[#5f6708] border-[#5f6708]">