#5E7C1A#5E7C1A

#5E7C1A is a mid, vivid yellow-green. Relative luminance 0.169; OKLCH L 54.4% C 0.126 H 125.7°. Best body text is #FFFFFF at 4.80:1 contrast (WCAG AA passes).

Color values

HEX#5E7C1A
RGBrgb(94, 124, 26)
HSLhsl(78, 65%, 29%)
HSVhsv(78, 79%, 49%)
CMYKcmyk(24.2%, 0%, 79%, 51.4%)
CIE-LABlab(48.10, -25.37, 46.31)
CIE-LCHlch(48.10, 52.81, 118.71°)
OKLaboklab(54.4% -0.0735 0.1024)
OKLCHoklch(54.4% 0.126 125.7)
XYZxyz(12.0103, 16.8694, 3.6004)
Luminance0.1687 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#5E7C1A #381A7C
analogous
#7C691A #5E7C1A #2D7C1A
triadic
#5E7C1A #1A5E7C #7C1A5E
tetradic
#5E7C1A #1A7C69 #381A7C #7C1A2D
square
#5E7C1A #1A7C69 #381A7C #7C1A2D
split-complementary
#5E7C1A #1A2D7C #691A7C
monochromatic
#131905 #38490F #5E7C1A #84AF25 #A6D63B

Accessibility & contrast

On white

4.80
#5E7C1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.37
#5E7C1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #5E7C1A
4.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##5E7C1A#FFFFFF#000000##FFFFFF
##5E7C1A1.004.804.374.80
#FFFFFF4.801.0021.001.00
#0000004.3721.001.0021.00
##FFFFFF4.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#837302
Deuteranopia (green-blind)
#7F7224
Tritanopia (blue-blind)
#62766A
Achromatopsia (no color)
#727272

Design tokens & code

CSS
--color: #5e7c1a;
/* rgb */ color: rgb(94, 124, 26);
/* oklch */ color: oklch(54.4% 0.126 125.7);
Tailwind
colors: {
  custom: {
    50: '#8fa25f',
    500: '#5e7c1a',
    950: '#000000',
  },
}
SCSS
$custom: #5e7c1a;
$custom-light: #8fa25f;
$custom-dark: #000000;
JSON
{
  "hex": "#5e7c1a",
  "rgb": {
    "r": 94,
    "g": 124,
    "b": 26
  },
  "hsl": {
    "h": 78.367,
    "s": 65.333,
    "l": 29.412
  },
  "oklch": {
    "l": 0.54395,
    "c": 0.12607,
    "h": 125.7
  },
  "luminance": 0.1687
}

Semantic roles & 50–950 ramp

primary
#5E7C1A
secondary
#6342B0
accent
#40E873
background
#F9F9F5
surface
#F1F2EA
border
#CBCCC6
text
#0D0F05
muted
#7E7E79

Preview Lab

Preview with #5E7C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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