#5B6E12#5B6E12

#5B6E12 is a mid, moderate yellow-green. Relative luminance 0.134; OKLCH L 50.5% C 0.114 H 121.3°. Best body text is #FFFFFF at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#5B6E12
RGBrgb(91, 110, 18)
HSLhsl(72, 72%, 25%)
HSVhsv(72, 84%, 43%)
CMYKcmyk(17.3%, 0%, 83.6%, 56.9%)
CIE-LABlab(43.39, -19.95, 44.54)
CIE-LCHlch(43.39, 48.80, 114.12°)
OKLaboklab(50.52% -0.0592 0.0973)
OKLCHoklch(50.52% 0.114 121.3)
XYZxyz(9.9997, 13.4197, 2.6356)
Luminance0.1342 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6E12 #25126E
analogous
#6E5312 #5B6E12 #2D6E12
triadic
#5B6E12 #125B6E #6E125B
tetradic
#5B6E12 #126E53 #25126E #6E122D
square
#5B6E12 #126E53 #25126E #6E122D
split-complementary
#5B6E12 #122D6E #53126E
monochromatic
#161A04 #2F3909 #5B6E12 #87A31B #B2D723

Accessibility & contrast

On white

5.70
#5B6E12 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.68
#5B6E12 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B6E12
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6E12#FFFFFF#000000##FFFFFF
##5B6E121.005.703.685.70
#FFFFFF5.701.0021.001.00
#0000003.6821.001.0021.00
##FFFFFF5.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#756700
Deuteranopia (green-blind)
#73671C
Tritanopia (blue-blind)
#61685D
Achromatopsia (no color)
#666666

Design tokens & code

CSS
--color: #5b6e12;
/* rgb */ color: rgb(91, 110, 18);
/* oklch */ color: oklch(50.5% 0.114 121.3);
Tailwind
colors: {
  custom: {
    50: '#8c975a',
    500: '#5b6e12',
    950: '#000000',
  },
}
SCSS
$custom: #5b6e12;
$custom-light: #8c975a;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6e12",
  "rgb": {
    "r": 91,
    "g": 110,
    "b": 18
  },
  "hsl": {
    "h": 72.391,
    "s": 71.875,
    "l": 25.098
  },
  "oklch": {
    "l": 0.50519,
    "c": 0.1139,
    "h": 121.3
  },
  "luminance": 0.1342
}

Semantic roles & 50–950 ramp

primary
#5B6E12
secondary
#4D37A5
accent
#39EF5F
background
#F8F9F5
surface
#F0F2E9
border
#CBCCC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #5B6E12

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

Preview Lab → · Contrast checker → · Palette generator →

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