#5E6918#5E6918

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

Color values

HEX#5E6918
RGBrgb(94, 105, 24)
HSLhsl(68, 63%, 25%)
HSVhsv(68, 77%, 41%)
CMYKcmyk(10.5%, 0%, 77.1%, 58.8%)
CIE-LABlab(42.08, -15.61, 41.32)
CIE-LCHlch(42.08, 44.17, 110.69°)
OKLaboklab(49.53% -0.0469 0.0915)
OKLCHoklch(49.53% 0.103 117.1)
XYZxyz(9.8328, 12.5489, 2.7682)
Luminance0.1255 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E6918 #231869
analogous
#694B18 #5E6918 #356918
triadic
#5E6918 #185E69 #69185E
tetradic
#5E6918 #18694B #231869 #691835
square
#5E6918 #18694B #231869 #691835
split-complementary
#5E6918 #183569 #4B1869
monochromatic
#161906 #31370D #5E6918 #8B9B23 #B7CD2F

Accessibility & contrast

On white

5.98
#5E6918 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #5E6918
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E6918#FFFFFF#000000##FFFFFF
##5E69181.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e6918;
/* rgb */ color: rgb(94, 105, 24);
/* oklch */ color: oklch(49.5% 0.103 117.1);
Tailwind
colors: {
  custom: {
    50: '#8e935c',
    500: '#5e6918',
    950: '#000000',
  },
}
SCSS
$custom: #5e6918;
$custom-light: #8e935c;
$custom-dark: #000000;
JSON
{
  "hex": "#5e6918",
  "rgb": {
    "r": 94,
    "g": 105,
    "b": 24
  },
  "hsl": {
    "h": 68.148,
    "s": 62.791,
    "l": 25.294
  },
  "oklch": {
    "l": 0.49531,
    "c": 0.10285,
    "h": 117.1
  },
  "luminance": 0.12549
}

Semantic roles & 50–950 ramp

primary
#5E6918
secondary
#4B3E9F
accent
#42E658
background
#F9F9F5
surface
#F1F1E9
border
#CBCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #5E6918

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

Preview Lab → · Contrast checker → · Palette generator →

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