#5E620F#5E620F

#5E620F is a mid, moderate yellow. Relative luminance 0.112; OKLCH L 47.7% C 0.100 H 112.5°. Best body text is #FFFFFF at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#5E620F
RGBrgb(94, 98, 15)
HSLhsl(63, 73%, 22%)
HSVhsv(63, 85%, 38%)
CMYKcmyk(4.1%, 0%, 84.7%, 61.6%)
CIE-LABlab(39.83, -12.17, 42.40)
CIE-LCHlch(39.83, 44.11, 106.01°)
OKLaboklab(47.71% -0.0382 0.0921)
OKLCHoklch(47.71% 0.1 112.5)
XYZxyz(9.0703, 11.1498, 2.1262)
Luminance0.1115 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E620F #130F62
analogous
#623D0F #5E620F #34620F
triadic
#5E620F #0F5E62 #620F5E
tetradic
#5E620F #0F623D #130F62 #620F34
square
#5E620F #0F623D #130F62 #620F34
split-complementary
#5E620F #0F3462 #3D0F62
monochromatic
#191B04 #2B2D07 #5E620F #919717 #C4CC1F

Accessibility & contrast

On white

6.50
#5E620F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#5E620F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E620F
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E620F#FFFFFF#000000##FFFFFF
##5E620F1.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D00
Deuteranopia (green-blind)
#6A5F17
Tritanopia (blue-blind)
#655B53
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #5e620f;
/* rgb */ color: rgb(94, 98, 15);
/* oklch */ color: oklch(47.7% 0.100 112.5);
Tailwind
colors: {
  custom: {
    50: '#8f8e56',
    500: '#5e620f',
    950: '#000000',
  },
}
SCSS
$custom: #5e620f;
$custom-light: #8f8e56;
$custom-dark: #000000;
JSON
{
  "hex": "#5e620f",
  "rgb": {
    "r": 94,
    "g": 98,
    "b": 15
  },
  "hsl": {
    "h": 62.892,
    "s": 73.451,
    "l": 22.157
  },
  "oklch": {
    "l": 0.47714,
    "c": 0.09968,
    "h": 112.5
  },
  "luminance": 0.1115
}

Semantic roles & 50–950 ramp

primary
#5E620F
secondary
#37329B
accent
#38F041
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C03
muted
#7E7D78

Preview Lab

Preview with #5E620F

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

Preview Lab → · Contrast checker → · Palette generator →

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