#5D6A10#5D6A10

#5D6A10 is a mid, moderate yellow. Relative luminance 0.127; OKLCH L 49.6% C 0.109 H 118.1°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#5D6A10
RGBrgb(93, 106, 16)
HSLhsl(69, 74%, 24%)
HSVhsv(69, 85%, 42%)
CMYKcmyk(12.3%, 0%, 84.9%, 58.4%)
CIE-LABlab(42.27, -16.99, 44.21)
CIE-LCHlch(42.27, 47.36, 111.02°)
OKLaboklab(49.65% -0.0513 0.0962)
OKLCHoklch(49.65% 0.109 118.1)
XYZxyz(9.7620, 12.6727, 2.4219)
Luminance0.1267 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D6A10 #1D106A
analogous
#6A4A10 #5D6A10 #306A10
triadic
#5D6A10 #105D6A #6A105D
tetradic
#5D6A10 #106A4A #1D106A #6A1030
square
#5D6A10 #106A4A #1D106A #6A1030
split-complementary
#5D6A10 #10306A #4A106A
monochromatic
#171B04 #2E3508 #5D6A10 #8C9F18 #BAD420

Accessibility & contrast

On white

5.94
#5D6A10 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.53
#5D6A10 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D6A10
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D6A10#FFFFFF#000000##FFFFFF
##5D6A101.005.943.535.94
#FFFFFF5.941.0021.001.00
#0000003.5321.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726400
Deuteranopia (green-blind)
#706419
Tritanopia (blue-blind)
#63645A
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #5d6a10;
/* rgb */ color: rgb(93, 106, 16);
/* oklch */ color: oklch(49.6% 0.109 118.1);
Tailwind
colors: {
  custom: {
    50: '#8e9458',
    500: '#5d6a10',
    950: '#000000',
  },
}
SCSS
$custom: #5d6a10;
$custom-light: #8e9458;
$custom-dark: #000000;
JSON
{
  "hex": "#5d6a10",
  "rgb": {
    "r": 93,
    "g": 106,
    "b": 16
  },
  "hsl": {
    "h": 68.667,
    "s": 73.77,
    "l": 23.922
  },
  "oklch": {
    "l": 0.4965,
    "c": 0.10902,
    "h": 118.1
  },
  "luminance": 0.12673
}

Semantic roles & 50–950 ramp

primary
#5D6A10
secondary
#4434A2
accent
#37F052
background
#F9F9F5
surface
#F1F1E9
border
#CBCBC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #5D6A10

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

Preview Lab → · Contrast checker → · Palette generator →

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