#5C620F#5C620F

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

Color values

HEX#5C620F
RGBrgb(92, 98, 15)
HSLhsl(64, 73%, 22%)
HSVhsv(64, 85%, 38%)
CMYKcmyk(6.1%, 0%, 84.7%, 61.6%)
CIE-LABlab(39.66, -13.12, 42.18)
CIE-LCHlch(39.66, 44.18, 107.28°)
OKLaboklab(47.53% -0.0407 0.0917)
OKLCHoklch(47.53% 0.1 114)
XYZxyz(8.8678, 11.0454, 2.1167)
Luminance0.1105 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5C620F #150F62
analogous
#623E0F #5C620F #33620F
triadic
#5C620F #0F5C62 #620F5C
tetradic
#5C620F #0F623E #150F62 #620F33
square
#5C620F #0F623E #150F62 #620F33
split-complementary
#5C620F #0F3362 #3E0F62
monochromatic
#191B04 #2A2D07 #5C620F #8E9717 #C0CC1F

Accessibility & contrast

On white

6.54
#5C620F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#5C620F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5C620F
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5C620F#FFFFFF#000000##FFFFFF
##5C620F1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D00
Deuteranopia (green-blind)
#6A5E17
Tritanopia (blue-blind)
#635C53
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #5c620f;
/* rgb */ color: rgb(92, 98, 15);
/* oklch */ color: oklch(47.5% 0.100 114.0);
Tailwind
colors: {
  custom: {
    50: '#8d8e56',
    500: '#5c620f',
    950: '#000000',
  },
}
SCSS
$custom: #5c620f;
$custom-light: #8d8e56;
$custom-dark: #000000;
JSON
{
  "hex": "#5c620f",
  "rgb": {
    "r": 92,
    "g": 98,
    "b": 15
  },
  "hsl": {
    "h": 64.337,
    "s": 73.451,
    "l": 22.157
  },
  "oklch": {
    "l": 0.47531,
    "c": 0.10032,
    "h": 114
  },
  "luminance": 0.11045
}

Semantic roles & 50–950 ramp

primary
#5C620F
secondary
#39329B
accent
#38F045
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0D0C03
muted
#7D7D78

Preview Lab

Preview with #5C620F

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

Preview Lab → · Contrast checker → · Palette generator →

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