#5E7D1C#5E7D1C

#5E7D1C is a mid, vivid yellow-green. Relative luminance 0.171; OKLCH L 54.7% C 0.126 H 126.1°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).

Color values

HEX#5E7D1C
RGBrgb(94, 125, 28)
HSLhsl(79, 63%, 30%)
HSVhsv(79, 78%, 49%)
CMYKcmyk(24.8%, 0%, 77.6%, 51%)
CIE-LABlab(48.42, -25.75, 45.92)
CIE-LCHlch(48.42, 52.65, 119.28°)
OKLaboklab(54.67% -0.0744 0.1019)
OKLCHoklch(54.67% 0.126 126.1)
XYZxyz(12.1594, 17.1306, 3.7643)
Luminance0.1713 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7D1C #3B1C7D
analogous
#7D6B1C #5E7D1C #2E7D1C
triadic
#5E7D1C #1C5E7D #7D1C5E
tetradic
#5E7D1C #1C7D6B #3B1C7D #7D1C2E
square
#5E7D1C #1C7D6B #3B1C7D #7D1C2E
split-complementary
#5E7D1C #1C2E7D #6B1C7D
monochromatic
#131906 #384B11 #5E7D1C #84AF27 #A5D43F

Accessibility & contrast

On white

4.74
#5E7D1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.43
#5E7D1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E7D1C
4.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7D1C#FFFFFF#000000##FFFFFF
##5E7D1C1.004.744.434.74
#FFFFFF4.741.0021.001.00
#0000004.4321.001.0021.00
##FFFFFF4.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#847406
Deuteranopia (green-blind)
#807225
Tritanopia (blue-blind)
#62776B
Achromatopsia (no color)
#737373

Design tokens & code

CSS
--color: #5e7d1c;
/* rgb */ color: rgb(94, 125, 28);
/* oklch */ color: oklch(54.7% 0.126 126.1);
Tailwind
colors: {
  custom: {
    50: '#8fa260',
    500: '#5e7d1c',
    950: '#000000',
  },
}
SCSS
$custom: #5e7d1c;
$custom-light: #8fa260;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7d1c",
  "rgb": {
    "r": 94,
    "g": 125,
    "b": 28
  },
  "hsl": {
    "h": 79.175,
    "s": 63.399,
    "l": 30
  },
  "oklch": {
    "l": 0.54665,
    "c": 0.12619,
    "h": 126.1
  },
  "luminance": 0.17131
}

Semantic roles & 50–950 ramp

primary
#5E7D1C
secondary
#6744B1
accent
#41E676
background
#F9FAF5
surface
#F1F3EA
border
#CBCDC6
text
#0D0F05
muted
#7E7F79

Preview Lab

Preview with #5E7D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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