#5F6325#5F6325

#5F6325 is a mid, moderate yellow. Relative luminance 0.115; OKLCH L 48.2% C 0.084 H 112.6°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#5F6325
RGBrgb(95, 99, 37)
HSLhsl(64, 46%, 27%)
HSVhsv(64, 63%, 39%)
CMYKcmyk(4%, 0%, 62.6%, 61.2%)
CIE-LABlab(40.39, -10.91, 33.84)
CIE-LCHlch(40.39, 35.56, 107.87°)
OKLaboklab(48.24% -0.0324 0.0779)
OKLCHoklch(48.24% 0.084 112.6)
XYZxyz(9.5153, 11.4903, 3.4665)
Luminance0.1149 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5F6325 #292563
analogous
#634825 #5F6325 #406325
triadic
#5F6325 #255F63 #63255F
tetradic
#5F6325 #256348 #292563 #632540
square
#5F6325 #256348 #292563 #632540
split-complementary
#5F6325 #254063 #482563
monochromatic
#151608 #343614 #5F6325 #8A9036 #B3BB48

Accessibility & contrast

On white

6.37
#5F6325 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#5F6325 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5F6325
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5F6325#FFFFFF#000000##FFFFFF
##5F63251.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5E1E
Deuteranopia (green-blind)
#6A6029
Tritanopia (blue-blind)
#655D56
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #5f6325;
/* rgb */ color: rgb(95, 99, 37);
/* oklch */ color: oklch(48.2% 0.084 112.6);
Tailwind
colors: {
  custom: {
    50: '#8e8f62',
    500: '#5f6325',
    950: '#000000',
  },
}
SCSS
$custom: #5f6325;
$custom-light: #8e8f62;
$custom-dark: #000000;
JSON
{
  "hex": "#5f6325",
  "rgb": {
    "r": 95,
    "g": 99,
    "b": 37
  },
  "hsl": {
    "h": 63.871,
    "s": 45.588,
    "l": 26.667
  },
  "oklch": {
    "l": 0.48239,
    "c": 0.08439,
    "h": 112.6
  },
  "luminance": 0.1149
}

Semantic roles & 50–950 ramp

primary
#5F6325
secondary
#524E96
accent
#53D55B
background
#F8F8F5
surface
#F0F0EA
border
#CBCBC6
text
#0C0C05
muted
#7D7D79

Preview Lab

Preview with #5F6325

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

Preview Lab → · Contrast checker → · Palette generator →

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