#5B6029#5B6029

#5B6029 is a mid, moderate yellow. Relative luminance 0.107; OKLCH L 47.2% C 0.077 H 113.7°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#5B6029
RGBrgb(91, 96, 41)
HSLhsl(65, 40%, 27%)
HSVhsv(65, 57%, 38%)
CMYKcmyk(5.2%, 0%, 57.3%, 62.4%)
CIE-LABlab(39.16, -10.71, 30.30)
CIE-LCHlch(39.16, 32.13, 109.47°)
OKLaboklab(47.18% -0.0311 0.0709)
OKLCHoklch(47.18% 0.077 113.7)
XYZxyz(8.8977, 10.7501, 3.7037)
Luminance0.1075 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6029 #2E2960
analogous
#604A29 #5B6029 #406029
triadic
#5B6029 #295B60 #60295B
tetradic
#5B6029 #29604A #2E2960 #602940
square
#5B6029 #29604A #2E2960 #602940
split-complementary
#5B6029 #294060 #4A2960
monochromatic
#141509 #323517 #5B6029 #848B3B #ABB44F

Accessibility & contrast

On white

6.67
#5B6029 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#5B6029 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B6029
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6029#FFFFFF#000000##FFFFFF
##5B60291.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675C24
Deuteranopia (green-blind)
#665D2C
Tritanopia (blue-blind)
#615B54
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #5b6029;
/* rgb */ color: rgb(91, 96, 41);
/* oklch */ color: oklch(47.2% 0.077 113.7);
Tailwind
colors: {
  custom: {
    50: '#8b8d65',
    500: '#5b6029',
    950: '#000000',
  },
}
SCSS
$custom: #5b6029;
$custom-light: #8b8d65;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6029",
  "rgb": {
    "r": 91,
    "g": 96,
    "b": 41
  },
  "hsl": {
    "h": 65.455,
    "s": 40.146,
    "l": 26.863
  },
  "oklch": {
    "l": 0.47177,
    "c": 0.07745,
    "h": 113.7
  },
  "luminance": 0.1075
}

Semantic roles & 50–950 ramp

primary
#5B6029
secondary
#585293
accent
#58D063
background
#F8F8F6
surface
#F0F0EB
border
#CBCBC6
text
#0C0C05
muted
#7D7D7A

Preview Lab

Preview with #5B6029

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

Preview Lab → · Contrast checker → · Palette generator →

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