#5F6E0F#5F6E0F

#5F6E0F is a mid, moderate yellow. Relative luminance 0.136; OKLCH L 50.8% C 0.114 H 119.0°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#5F6E0F
RGBrgb(95, 110, 15)
HSLhsl(69, 76%, 25%)
HSVhsv(69, 86%, 43%)
CMYKcmyk(13.6%, 0%, 86.4%, 56.9%)
CIE-LABlab(43.68, -18.24, 45.80)
CIE-LCHlch(43.68, 49.30, 111.72°)
OKLaboklab(50.83% -0.055 0.0993)
OKLCHoklch(50.83% 0.114 119)
XYZxyz(10.3817, 13.6193, 2.5337)
Luminance0.1362 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6E0F #1E0F6E
analogous
#6E4E0F #5F6E0F #2F6E0F
triadic
#5F6E0F #0F5F6E #6E0F5F
tetradic
#5F6E0F #0F6E4E #1E0F6E #6E0F2F
square
#5F6E0F #0F6E4E #1E0F6E #6E0F2F
split-complementary
#5F6E0F #0F2F6E #4E0F6E
monochromatic
#171B04 #303808 #5F6E0F #8EA416 #BCDA1E

Accessibility & contrast

On white

5.64
#5F6E0F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.72
#5F6E0F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F6E0F
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6E0F#FFFFFF#000000##FFFFFF
##5F6E0F1.005.643.725.64
#FFFFFF5.641.0021.001.00
#0000003.7221.001.0021.00
##FFFFFF5.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#766700
Deuteranopia (green-blind)
#746819
Tritanopia (blue-blind)
#65675D
Achromatopsia (no color)
#676767

Design tokens & code

CSS
--color: #5f6e0f;
/* rgb */ color: rgb(95, 110, 15);
/* oklch */ color: oklch(50.8% 0.114 119.0);
Tailwind
colors: {
  custom: {
    50: '#909758',
    500: '#5f6e0f',
    950: '#000000',
  },
}
SCSS
$custom: #5f6e0f;
$custom-light: #909758;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6e0f",
  "rgb": {
    "r": 95,
    "g": 110,
    "b": 15
  },
  "hsl": {
    "h": 69.474,
    "s": 76,
    "l": 24.51
  },
  "oklch": {
    "l": 0.50829,
    "c": 0.1135,
    "h": 119
  },
  "luminance": 0.13619
}

Semantic roles & 50–950 ramp

primary
#5F6E0F
secondary
#4533A6
accent
#35F353
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #5F6E0F

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#5F6E0F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva