#5B620F#5B620F

#5B620F is a mid, moderate yellow. Relative luminance 0.110; OKLCH L 47.4% C 0.101 H 114.7°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#5B620F
RGBrgb(91, 98, 15)
HSLhsl(65, 73%, 22%)
HSVhsv(65, 85%, 38%)
CMYKcmyk(7.1%, 0%, 84.7%, 61.6%)
CIE-LABlab(39.57, -13.60, 42.07)
CIE-LCHlch(39.57, 44.22, 107.92°)
OKLaboklab(47.44% -0.042 0.0915)
OKLCHoklch(47.44% 0.101 114.7)
XYZxyz(8.7686, 10.9942, 2.1120)
Luminance0.1099 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B620F #160F62
analogous
#62400F #5B620F #32620F
triadic
#5B620F #0F5B62 #620F5B
tetradic
#5B620F #0F6240 #160F62 #620F32
square
#5B620F #0F6240 #160F62 #620F32
split-complementary
#5B620F #0F3262 #400F62
monochromatic
#191B04 #2A2D07 #5B620F #8C9717 #BECC1F

Accessibility & contrast

On white

6.56
#5B620F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#5B620F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B620F
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B620F#FFFFFF#000000##FFFFFF
##5B620F1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D00
Deuteranopia (green-blind)
#695E17
Tritanopia (blue-blind)
#625C53
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5b620f;
/* rgb */ color: rgb(91, 98, 15);
/* oklch */ color: oklch(47.4% 0.101 114.7);
Tailwind
colors: {
  custom: {
    50: '#8c8e56',
    500: '#5b620f',
    950: '#000000',
  },
}
SCSS
$custom: #5b620f;
$custom-light: #8c8e56;
$custom-dark: #000000;
JSON
{
  "hex": "#5b620f",
  "rgb": {
    "r": 91,
    "g": 98,
    "b": 15
  },
  "hsl": {
    "h": 65.06,
    "s": 73.451,
    "l": 22.157
  },
  "oklch": {
    "l": 0.47441,
    "c": 0.10067,
    "h": 114.7
  },
  "luminance": 0.10994
}

Semantic roles & 50–950 ramp

primary
#5B620F
secondary
#3B329B
accent
#38F047
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C03
muted
#7D7D78

Preview Lab

Preview with #5B620F

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

Preview Lab → · Contrast checker → · Palette generator →

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