#5E641F#5E641F

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

Color values

HEX#5E641F
RGBrgb(94, 100, 31)
HSLhsl(65, 53%, 26%)
HSVhsv(65, 69%, 39%)
CMYKcmyk(6%, 0%, 69%, 60.8%)
CIE-LABlab(40.56, -12.41, 36.86)
CIE-LCHlch(40.56, 38.90, 108.60°)
OKLaboklab(48.33% -0.0372 0.0834)
OKLCHoklch(48.33% 0.091 114.1)
XYZxyz(9.4208, 11.5931, 3.0375)
Luminance0.1159 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E641F #251F64
analogous
#64471F #5E641F #3B641F
triadic
#5E641F #1F5E64 #641F5E
tetradic
#5E641F #1F6447 #251F64 #641F3B
square
#5E641F #1F6447 #251F64 #641F3B
split-complementary
#5E641F #1F3B64 #471F64
monochromatic
#161707 #323511 #5E641F #8A932D #B6C13C

Accessibility & contrast

On white

6.33
#5E641F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#5E641F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E641F
6.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E641F#FFFFFF#000000##FFFFFF
##5E641F1.006.333.326.33
#FFFFFF6.331.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5F16
Deuteranopia (green-blind)
#6B6024
Tritanopia (blue-blind)
#645E56
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #5e641f;
/* rgb */ color: rgb(94, 100, 31);
/* oklch */ color: oklch(48.3% 0.091 114.1);
Tailwind
colors: {
  custom: {
    50: '#8e905f',
    500: '#5e641f',
    950: '#000000',
  },
}
SCSS
$custom: #5e641f;
$custom-light: #8e905f;
$custom-dark: #000000;
JSON
{
  "hex": "#5e641f",
  "rgb": {
    "r": 94,
    "g": 100,
    "b": 31
  },
  "hsl": {
    "h": 65.217,
    "s": 52.672,
    "l": 25.686
  },
  "oklch": {
    "l": 0.48333,
    "c": 0.09135,
    "h": 114.1
  },
  "luminance": 0.11593
}

Semantic roles & 50–950 ramp

primary
#5E641F
secondary
#4D4698
accent
#4CDC58
background
#F8F8F5
surface
#F0F0E9
border
#CBCBC5
text
#0C0C05
muted
#7D7D79

Preview Lab

Preview with #5E641F

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

Preview Lab → · Contrast checker → · Palette generator →

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