#5E641B#5E641B

#5E641B is a mid, moderate yellow. Relative luminance 0.116; OKLCH L 48.3% C 0.095 H 114.0°. Best body text is #FFFFFF at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#5E641B
RGBrgb(94, 100, 27)
HSLhsl(65, 57%, 25%)
HSVhsv(65, 73%, 39%)
CMYKcmyk(6%, 0%, 73%, 60.8%)
CIE-LABlab(40.53, -12.67, 38.59)
CIE-LCHlch(40.53, 40.62, 108.18°)
OKLaboklab(48.3% -0.0384 0.0864)
OKLCHoklch(48.3% 0.095 114)
XYZxyz(9.3714, 11.5733, 2.7769)
Luminance0.1157 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E641B #211B64
analogous
#64461B #5E641B #39641B
triadic
#5E641B #1B5E64 #641B5E
tetradic
#5E641B #1B6446 #211B64 #641B39
square
#5E641B #1B6446 #211B64 #641B39
split-complementary
#5E641B #1B3964 #461B64
monochromatic
#171807 #31340E #5E641B #8B9428 #B9C435

Accessibility & contrast

On white

6.34
#5E641B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.31
#5E641B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E641B
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E641B#FFFFFF#000000##FFFFFF
##5E641B1.006.343.316.34
#FFFFFF6.341.0021.001.00
#0000003.3121.001.0021.00
##FFFFFF6.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F0F
Deuteranopia (green-blind)
#6B6020
Tritanopia (blue-blind)
#655E56
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5e641b;
/* rgb */ color: rgb(94, 100, 27);
/* oklch */ color: oklch(48.3% 0.095 114.0);
Tailwind
colors: {
  custom: {
    50: '#8e905c',
    500: '#5e641b',
    950: '#000000',
  },
}
SCSS
$custom: #5e641b;
$custom-light: #8e905c;
$custom-dark: #000000;
JSON
{
  "hex": "#5e641b",
  "rgb": {
    "r": 94,
    "g": 100,
    "b": 27
  },
  "hsl": {
    "h": 64.932,
    "s": 57.48,
    "l": 24.902
  },
  "oklch": {
    "l": 0.48297,
    "c": 0.09452,
    "h": 114
  },
  "luminance": 0.11573
}

Semantic roles & 50–950 ramp

primary
#5E641B
secondary
#494199
accent
#47E154
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0D0C04
muted
#7D7D79

Preview Lab

Preview with #5E641B

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

Preview Lab → · Contrast checker → · Palette generator →

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