#5E6112#5E6112

#5E6112 is a mid, moderate yellow. Relative luminance 0.110; OKLCH L 47.5% C 0.097 H 111.8°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#5E6112
RGBrgb(94, 97, 18)
HSLhsl(62, 69%, 23%)
HSVhsv(62, 81%, 38%)
CMYKcmyk(3.1%, 0%, 81.4%, 62%)
CIE-LABlab(39.53, -11.48, 41.14)
CIE-LCHlch(39.53, 42.72, 105.58°)
OKLaboklab(47.48% -0.036 0.09)
OKLCHoklch(47.48% 0.097 111.8)
XYZxyz(9.0003, 10.9730, 2.2160)
Luminance0.1097 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6112 #151261
analogous
#613C12 #5E6112 #376112
triadic
#5E6112 #125E61 #61125E
tetradic
#5E6112 #12613C #151261 #611237
square
#5E6112 #12613C #151261 #611237
split-complementary
#5E6112 #123761 #3C1261
monochromatic
#191A05 #2C2D08 #5E6112 #90951C #C2C825

Accessibility & contrast

On white

6.57
#5E6112 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#5E6112 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E6112
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E6112#FFFFFF#000000##FFFFFF
##5E61121.006.573.196.57
#FFFFFF6.571.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695C01
Deuteranopia (green-blind)
#695E19
Tritanopia (blue-blind)
#655A52
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5e6112;
/* rgb */ color: rgb(94, 97, 18);
/* oklch */ color: oklch(47.5% 0.097 111.8);
Tailwind
colors: {
  custom: {
    50: '#8f8d58',
    500: '#5e6112',
    950: '#000000',
  },
}
SCSS
$custom: #5e6112;
$custom-light: #8f8d58;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6112",
  "rgb": {
    "r": 94,
    "g": 97,
    "b": 18
  },
  "hsl": {
    "h": 62.278,
    "s": 68.696,
    "l": 22.549
  },
  "oklch": {
    "l": 0.47482,
    "c": 0.09692,
    "h": 111.8
  },
  "luminance": 0.10973
}

Semantic roles & 50–950 ramp

primary
#5E6112
secondary
#393699
accent
#3CEC43
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C03
muted
#7E7D78

Preview Lab

Preview with #5E6112

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

Preview Lab → · Contrast checker → · Palette generator →

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