#5D7010#5D7010

#5D7010 is a mid, moderate yellow-green. Relative luminance 0.140; OKLCH L 51.2% C 0.116 H 121.1°. Best body text is #FFFFFF at 5.54:1 contrast (WCAG AA passes).

Color values

HEX#5D7010
RGBrgb(93, 112, 16)
HSLhsl(72, 75%, 25%)
HSVhsv(72, 86%, 44%)
CMYKcmyk(17%, 0%, 85.7%, 56.1%)
CIE-LABlab(44.17, -20.17, 45.88)
CIE-LCHlch(44.17, 50.12, 113.73°)
OKLaboklab(51.18% -0.06 0.0997)
OKLCHoklch(51.18% 0.116 121.1)
XYZxyz(10.4021, 13.9529, 2.6353)
Luminance0.1395 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5D7010 #231070
analogous
#705310 #5D7010 #2D7010
triadic
#5D7010 #105D70 #70105D
tetradic
#5D7010 #107053 #231070 #70102D
square
#5D7010 #107053 #231070 #70102D
split-complementary
#5D7010 #102D70 #531070
monochromatic
#161B04 #313A08 #5D7010 #89A618 #B6DB1F

Accessibility & contrast

On white

5.54
#5D7010 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.79
#5D7010 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5D7010
5.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5D7010#FFFFFF#000000##FFFFFF
##5D70101.005.543.795.54
#FFFFFF5.541.0021.001.00
#0000003.7921.001.0021.00
##FFFFFF5.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#786900
Deuteranopia (green-blind)
#75691B
Tritanopia (blue-blind)
#636A5F
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #5d7010;
/* rgb */ color: rgb(93, 112, 16);
/* oklch */ color: oklch(51.2% 0.116 121.1);
Tailwind
colors: {
  custom: {
    50: '#8e9959',
    500: '#5d7010',
    950: '#000000',
  },
}
SCSS
$custom: #5d7010;
$custom-light: #8e9959;
$custom-dark: #000000;
JSON
{
  "hex": "#5d7010",
  "rgb": {
    "r": 93,
    "g": 112,
    "b": 16
  },
  "hsl": {
    "h": 71.875,
    "s": 75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.51181,
    "c": 0.11642,
    "h": 121.1
  },
  "luminance": 0.13953
}

Semantic roles & 50–950 ramp

primary
#5D7010
secondary
#4B34A8
accent
#36F25B
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #5D7010

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

Preview Lab → · Contrast checker → · Palette generator →

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