#5E7010#5E7010

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

Color values

HEX#5E7010
RGBrgb(94, 112, 16)
HSLhsl(71, 75%, 25%)
HSVhsv(71, 86%, 44%)
CMYKcmyk(16.1%, 0%, 85.7%, 56.1%)
CIE-LABlab(44.24, -19.72, 45.98)
CIE-LCHlch(44.24, 50.02, 113.21°)
OKLaboklab(51.26% -0.0589 0.0999)
OKLCHoklch(51.26% 0.116 120.5)
XYZxyz(10.5040, 14.0055, 2.6401)
Luminance0.1401 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7010 #221070
analogous
#705210 #5E7010 #2E7010
triadic
#5E7010 #105E70 #70105E
tetradic
#5E7010 #107052 #221070 #70102E
square
#5E7010 #107052 #221070 #70102E
split-complementary
#5E7010 #102E70 #521070
monochromatic
#161B04 #313A08 #5E7010 #8BA618 #B8DB1F

Accessibility & contrast

On white

5.52
#5E7010 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.80
#5E7010 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E7010
5.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7010#FFFFFF#000000##FFFFFF
##5E70101.005.523.805.52
#FFFFFF5.521.0021.001.00
#0000003.8021.001.0021.00
##FFFFFF5.521.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #5e7010;
/* rgb */ color: rgb(94, 112, 16);
/* oklch */ color: oklch(51.3% 0.116 120.5);
Tailwind
colors: {
  custom: {
    50: '#8f9959',
    500: '#5e7010',
    950: '#000000',
  },
}
SCSS
$custom: #5e7010;
$custom-light: #8f9959;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7010",
  "rgb": {
    "r": 94,
    "g": 112,
    "b": 16
  },
  "hsl": {
    "h": 71.25,
    "s": 75,
    "l": 25.098
  },
  "oklch": {
    "l": 0.51261,
    "c": 0.11596,
    "h": 120.5
  },
  "luminance": 0.14005
}

Semantic roles & 50–950 ramp

primary
#5E7010
secondary
#4A34A8
accent
#36F259
background
#F9F9F5
surface
#F1F2E9
border
#CBCCC5
text
#0D0D04
muted
#7E7E79

Preview Lab

Preview with #5E7010

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

Preview Lab → · Contrast checker → · Palette generator →

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