#5B6823#5B6823

#5B6823 is a mid, moderate yellow-green. Relative luminance 0.122; OKLCH L 49.1% C 0.094 H 119.1°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#5B6823
RGBrgb(91, 104, 35)
HSLhsl(71, 50%, 27%)
HSVhsv(71, 66%, 41%)
CMYKcmyk(12.5%, 0%, 66.3%, 59.2%)
CIE-LABlab(41.60, -15.70, 36.03)
CIE-LCHlch(41.60, 39.31, 113.54°)
OKLaboklab(49.12% -0.0458 0.0824)
OKLCHoklch(49.12% 0.094 119.1)
XYZxyz(9.5682, 12.2462, 3.4495)
Luminance0.1225 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6823 #302368
analogous
#685223 #5B6823 #396823
triadic
#5B6823 #235B68 #68235B
tetradic
#5B6823 #236852 #302368 #682339
square
#5B6823 #236852 #302368 #682339
split-complementary
#5B6823 #233968 #522368
monochromatic
#141708 #333A14 #5B6823 #839632 #A9C045

Accessibility & contrast

On white

6.09
#5B6823 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.45
#5B6823 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B6823
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6823#FFFFFF#000000##FFFFFF
##5B68231.006.093.456.09
#FFFFFF6.091.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F621A
Deuteranopia (green-blind)
#6D6228
Tritanopia (blue-blind)
#60625A
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #5b6823;
/* rgb */ color: rgb(91, 104, 35);
/* oklch */ color: oklch(49.1% 0.094 119.1);
Tailwind
colors: {
  custom: {
    50: '#8b9361',
    500: '#5b6823',
    950: '#000000',
  },
}
SCSS
$custom: #5b6823;
$custom-light: #8b9361;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6823",
  "rgb": {
    "r": 91,
    "g": 104,
    "b": 35
  },
  "hsl": {
    "h": 71.304,
    "s": 49.64,
    "l": 27.255
  },
  "oklch": {
    "l": 0.49119,
    "c": 0.09425,
    "h": 119.1
  },
  "luminance": 0.12246
}

Semantic roles & 50–950 ramp

primary
#5B6823
secondary
#5A4B9B
accent
#4FD969
background
#F8F9F5
surface
#F0F1EA
border
#CBCBC6
text
#0C0D05
muted
#7D7E79

Preview Lab

Preview with #5B6823

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

Preview Lab → · Contrast checker → · Palette generator →

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