#2E5A0E#2E5A0E

#2E5A0E is a dark, moderate yellow-green. Relative luminance 0.079; OKLCH L 42.0% C 0.114 H 135.5°. Best body text is #FFFFFF at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#2E5A0E
RGBrgb(46, 90, 14)
HSLhsl(95, 73%, 20%)
HSVhsv(95, 84%, 35%)
CMYKcmyk(48.9%, 0%, 84.4%, 64.7%)
CIE-LABlab(33.83, -29.16, 36.03)
CIE-LCHlch(33.83, 46.35, 128.98°)
OKLaboklab(41.98% -0.0814 0.0799)
OKLCHoklch(41.98% 0.114 135.5)
XYZxyz(4.8620, 7.9246, 1.6888)
Luminance0.0793 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E5A0E #3A0E5A
analogous
#545A0E #2E5A0E #0E5A14
triadic
#2E5A0E #0E2E5A #5A0E2E
tetradic
#2E5A0E #0E545A #3A0E5A #5A140E
square
#2E5A0E #0E545A #3A0E5A #5A140E
split-complementary
#2E5A0E #140E5A #5A0E54
monochromatic
#0E1A04 #132506 #2E5A0E #498F16 #64C41E

Accessibility & contrast

On white

8.12
#2E5A0E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.59
#2E5A0E on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E5A0E
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E5A0E#FFFFFF#000000##FFFFFF
##2E5A0E1.008.122.598.12
#FFFFFF8.121.0021.001.00
#0000002.5921.001.0021.00
##FFFFFF8.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5200
Deuteranopia (green-blind)
#584E17
Tritanopia (blue-blind)
#2C564C
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2e5a0e;
/* rgb */ color: rgb(46, 90, 14);
/* oklch */ color: oklch(42.0% 0.114 135.5);
Tailwind
colors: {
  custom: {
    50: '#6c8954',
    500: '#2e5a0e',
    950: '#000000',
  },
}
SCSS
$custom: #2e5a0e;
$custom-light: #6c8954;
$custom-dark: #000000;
JSON
{
  "hex": "#2e5a0e",
  "rgb": {
    "r": 46,
    "g": 90,
    "b": 14
  },
  "hsl": {
    "h": 94.737,
    "s": 73.077,
    "l": 20.392
  },
  "oklch": {
    "l": 0.41982,
    "c": 0.1141,
    "h": 135.5
  },
  "luminance": 0.07925
}

Semantic roles & 50–950 ramp

primary
#2E5A0E
secondary
#6A3094
accent
#38F0A2
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2E5A0E

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

Preview Lab → · Contrast checker → · Palette generator →

#2E5A0E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva