#5E6912#5E6912

#5E6912 is a mid, moderate yellow. Relative luminance 0.125; OKLCH L 49.5% C 0.106 H 117.0°. Best body text is #FFFFFF at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#5E6912
RGBrgb(94, 105, 18)
HSLhsl(68, 71%, 24%)
HSVhsv(68, 83%, 41%)
CMYKcmyk(10.5%, 0%, 82.9%, 58.8%)
CIE-LABlab(42.04, -15.90, 43.42)
CIE-LCHlch(42.04, 46.24, 110.12°)
OKLaboklab(49.49% -0.0482 0.0948)
OKLCHoklch(49.49% 0.106 117)
XYZxyz(9.7771, 12.5266, 2.4750)
Luminance0.1253 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6912 #1D1269
analogous
#694912 #5E6912 #336912
triadic
#5E6912 #125E69 #69125E
tetradic
#5E6912 #126949 #1D1269 #691233
square
#5E6912 #126949 #1D1269 #691233
split-complementary
#5E6912 #123369 #491269
monochromatic
#171A04 #2F3509 #5E6912 #8D9D1B #BCD124

Accessibility & contrast

On white

5.99
#5E6912 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#5E6912 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E6912
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E6912#FFFFFF#000000##FFFFFF
##5E69121.005.993.515.99
#FFFFFF5.991.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716300
Deuteranopia (green-blind)
#70641A
Tritanopia (blue-blind)
#646359
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5e6912;
/* rgb */ color: rgb(94, 105, 18);
/* oklch */ color: oklch(49.5% 0.106 117.0);
Tailwind
colors: {
  custom: {
    50: '#8f9359',
    500: '#5e6912',
    950: '#000000',
  },
}
SCSS
$custom: #5e6912;
$custom-light: #8f9359;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6912",
  "rgb": {
    "r": 94,
    "g": 105,
    "b": 18
  },
  "hsl": {
    "h": 67.586,
    "s": 70.732,
    "l": 24.118
  },
  "oklch": {
    "l": 0.49492,
    "c": 0.10639,
    "h": 117
  },
  "luminance": 0.12527
}

Semantic roles & 50–950 ramp

primary
#5E6912
secondary
#4436A1
accent
#3AED51
background
#F9F9F5
surface
#F1F1E9
border
#CBCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #5E6912

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

Preview Lab → · Contrast checker → · Palette generator →

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