#5D620F#5D620F

#5D620F is a mid, moderate yellow. Relative luminance 0.111; OKLCH L 47.6% C 0.100 H 113.2°. Best body text is #FFFFFF at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#5D620F
RGBrgb(93, 98, 15)
HSLhsl(64, 73%, 22%)
HSVhsv(64, 85%, 38%)
CMYKcmyk(5.1%, 0%, 84.7%, 61.6%)
CIE-LABlab(39.74, -12.64, 42.29)
CIE-LCHlch(39.74, 44.14, 106.65°)
OKLaboklab(47.62% -0.0395 0.0919)
OKLCHoklch(47.62% 0.1 113.2)
XYZxyz(8.9684, 11.0972, 2.1214)
Luminance0.1110 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D620F #140F62
analogous
#623D0F #5D620F #34620F
triadic
#5D620F #0F5D62 #620F5D
tetradic
#5D620F #0F623D #140F62 #620F34
square
#5D620F #0F623D #140F62 #620F34
split-complementary
#5D620F #0F3462 #3D0F62
monochromatic
#191B04 #2B2D07 #5D620F #8F9717 #C2CC1F

Accessibility & contrast

On white

6.52
#5D620F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#5D620F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D620F
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D620F#FFFFFF#000000##FFFFFF
##5D620F1.006.523.226.52
#FFFFFF6.521.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5d620f;
/* rgb */ color: rgb(93, 98, 15);
/* oklch */ color: oklch(47.6% 0.100 113.2);
Tailwind
colors: {
  custom: {
    50: '#8e8e56',
    500: '#5d620f',
    950: '#000000',
  },
}
SCSS
$custom: #5d620f;
$custom-light: #8e8e56;
$custom-dark: #000000;
JSON
{
  "hex": "#5d620f",
  "rgb": {
    "r": 93,
    "g": 98,
    "b": 15
  },
  "hsl": {
    "h": 63.614,
    "s": 73.451,
    "l": 22.157
  },
  "oklch": {
    "l": 0.47622,
    "c": 0.1,
    "h": 113.2
  },
  "luminance": 0.11097
}

Semantic roles & 50–950 ramp

primary
#5D620F
secondary
#38329B
accent
#38F043
background
#F9F8F5
surface
#F1F0E9
border
#CBCBC5
text
#0D0C03
muted
#7E7D78

Preview Lab

Preview with #5D620F

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

Preview Lab → · Contrast checker → · Palette generator →

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