#5B6025#5B6025

#5B6025 is a mid, moderate yellow. Relative luminance 0.107; OKLCH L 47.1% C 0.082 H 113.6°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#5B6025
RGBrgb(91, 96, 37)
HSLhsl(65, 44%, 26%)
HSVhsv(65, 61%, 38%)
CMYKcmyk(5.2%, 0%, 61.5%, 62.4%)
CIE-LABlab(39.11, -11.08, 32.32)
CIE-LCHlch(39.11, 34.17, 108.93°)
OKLaboklab(47.13% -0.0326 0.0748)
OKLCHoklch(47.13% 0.082 113.6)
XYZxyz(8.8314, 10.7236, 3.3545)
Luminance0.1072 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6025 #2A2560
analogous
#604725 #5B6025 #3D6025
triadic
#5B6025 #255B60 #60255B
tetradic
#5B6025 #256047 #2A2560 #60253D
square
#5B6025 #256047 #2A2560 #60253D
split-complementary
#5B6025 #253D60 #472560
monochromatic
#151609 #313414 #5B6025 #858C36 #AFB847

Accessibility & contrast

On white

6.68
#5B6025 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.14
#5B6025 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B6025
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6025#FFFFFF#000000##FFFFFF
##5B60251.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B1F
Deuteranopia (green-blind)
#675D29
Tritanopia (blue-blind)
#615A53
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5b6025;
/* rgb */ color: rgb(91, 96, 37);
/* oklch */ color: oklch(47.1% 0.082 113.6);
Tailwind
colors: {
  custom: {
    50: '#8b8d62',
    500: '#5b6025',
    950: '#000000',
  },
}
SCSS
$custom: #5b6025;
$custom-light: #8b8d62;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6025",
  "rgb": {
    "r": 91,
    "g": 96,
    "b": 37
  },
  "hsl": {
    "h": 65.085,
    "s": 44.361,
    "l": 26.078
  },
  "oklch": {
    "l": 0.47126,
    "c": 0.08158,
    "h": 113.6
  },
  "luminance": 0.10723
}

Semantic roles & 50–950 ramp

primary
#5B6025
secondary
#534D93
accent
#54D45F
background
#F8F8F5
surface
#F0F0EA
border
#CBCBC6
text
#0C0C05
muted
#7D7D79

Preview Lab

Preview with #5B6025

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

Preview Lab → · Contrast checker → · Palette generator →

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