#5E6A0F#5E6A0F

#5E6A0F is a mid, moderate yellow. Relative luminance 0.127; OKLCH L 49.7% C 0.109 H 117.5°. Best body text is #FFFFFF at 5.92:1 contrast (WCAG AA passes).

Color values

HEX#5E6A0F
RGBrgb(94, 106, 15)
HSLhsl(68, 75%, 24%)
HSVhsv(68, 86%, 42%)
CMYKcmyk(11.3%, 0%, 85.8%, 58.4%)
CIE-LABlab(42.34, -16.57, 44.60)
CIE-LCHlch(42.34, 47.58, 110.37°)
OKLaboklab(49.73% -0.0503 0.0968)
OKLCHoklch(49.73% 0.109 117.5)
XYZxyz(9.8566, 12.7224, 2.3883)
Luminance0.1272 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6A0F #1B0F6A
analogous
#6A480F #5E6A0F #306A0F
triadic
#5E6A0F #0F5E6A #6A0F5E
tetradic
#5E6A0F #0F6A48 #1B0F6A #6A0F30
square
#5E6A0F #0F6A48 #1B0F6A #6A0F30
split-complementary
#5E6A0F #0F306A #480F6A
monochromatic
#181B04 #2E3407 #5E6A0F #8EA017 #BDD51E

Accessibility & contrast

On white

5.92
#5E6A0F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#5E6A0F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E6A0F
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E6A0F#FFFFFF#000000##FFFFFF
##5E6A0F1.005.923.545.92
#FFFFFF5.921.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726400
Deuteranopia (green-blind)
#716419
Tritanopia (blue-blind)
#64635A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5e6a0f;
/* rgb */ color: rgb(94, 106, 15);
/* oklch */ color: oklch(49.7% 0.109 117.5);
Tailwind
colors: {
  custom: {
    50: '#8f9458',
    500: '#5e6a0f',
    950: '#000000',
  },
}
SCSS
$custom: #5e6a0f;
$custom-light: #8f9458;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6a0f",
  "rgb": {
    "r": 94,
    "g": 106,
    "b": 15
  },
  "hsl": {
    "h": 67.912,
    "s": 75.207,
    "l": 23.725
  },
  "oklch": {
    "l": 0.4973,
    "c": 0.10908,
    "h": 117.5
  },
  "luminance": 0.12722
}

Semantic roles & 50–950 ramp

primary
#5E6A0F
secondary
#4132A2
accent
#36F24F
background
#F9F9F5
surface
#F1F1E9
border
#CBCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #5E6A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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