#5B6A10#5B6A10

#5B6A10 is a mid, moderate yellow-green. Relative luminance 0.126; OKLCH L 49.5% C 0.110 H 119.3°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#5B6A10
RGBrgb(91, 106, 16)
HSLhsl(70, 74%, 24%)
HSVhsv(70, 85%, 42%)
CMYKcmyk(14.2%, 0%, 84.9%, 58.4%)
CIE-LABlab(42.11, -17.92, 44.01)
CIE-LCHlch(42.11, 47.52, 112.15°)
OKLaboklab(49.48% -0.0538 0.0958)
OKLCHoklch(49.48% 0.11 119.3)
XYZxyz(9.5622, 12.5697, 2.4126)
Luminance0.1257 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5B6A10 #1F106A
analogous
#6A4C10 #5B6A10 #2E6A10
triadic
#5B6A10 #105B6A #6A105B
tetradic
#5B6A10 #106A4C #1F106A #6A102E
square
#5B6A10 #106A4C #1F106A #6A102E
split-complementary
#5B6A10 #102E6A #4C106A
monochromatic
#171B04 #2D3508 #5B6A10 #899F18 #B6D420

Accessibility & contrast

On white

5.98
#5B6A10 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#5B6A10 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5B6A10
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5B6A10#FFFFFF#000000##FFFFFF
##5B6A101.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716300
Deuteranopia (green-blind)
#706419
Tritanopia (blue-blind)
#61645A
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #5b6a10;
/* rgb */ color: rgb(91, 106, 16);
/* oklch */ color: oklch(49.5% 0.110 119.3);
Tailwind
colors: {
  custom: {
    50: '#8c9458',
    500: '#5b6a10',
    950: '#000000',
  },
}
SCSS
$custom: #5b6a10;
$custom-light: #8c9458;
$custom-dark: #000000;
JSON
{
  "hex": "#5b6a10",
  "rgb": {
    "r": 91,
    "g": 106,
    "b": 16
  },
  "hsl": {
    "h": 70,
    "s": 73.77,
    "l": 23.922
  },
  "oklch": {
    "l": 0.49482,
    "c": 0.10989,
    "h": 119.3
  },
  "luminance": 0.1257
}

Semantic roles & 50–950 ramp

primary
#5B6A10
secondary
#4634A2
accent
#37F056
background
#F8F9F5
surface
#F0F1E9
border
#CBCBC5
text
#0C0D04
muted
#7D7E79

Preview Lab

Preview with #5B6A10

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

Preview Lab → · Contrast checker → · Palette generator →

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