#2E4A0F#2E4A0F

#2E4A0F is a dark, moderate yellow-green. Relative luminance 0.055; OKLCH L 37.3% C 0.091 H 131.8°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#2E4A0F
RGBrgb(46, 74, 15)
HSLhsl(88, 66%, 17%)
HSVhsv(88, 80%, 29%)
CMYKcmyk(37.8%, 0%, 79.7%, 71%)
CIE-LABlab(28.15, -21.43, 30.14)
CIE-LCHlch(28.15, 36.98, 125.41°)
OKLaboklab(37.34% -0.0605 0.0678)
OKLCHoklch(37.34% 0.091 131.8)
XYZxyz(3.6617, 5.5128, 1.3230)
Luminance0.0551 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4A0F #2B0F4A
analogous
#4A490F #2E4A0F #104A0F
triadic
#2E4A0F #0F2E4A #4A0F2E
tetradic
#2E4A0F #0F4A49 #2B0F4A #4A0F10
square
#2E4A0F #0F4A49 #2B0F4A #4A0F10
split-complementary
#2E4A0F #0F104A #490F4A
monochromatic
#101905 #101905 #2E4A0F #4E7D19 #6DB024

Accessibility & contrast

On white

9.99
#2E4A0F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2E4A0F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4A0F
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4A0F#FFFFFF#000000##FFFFFF
##2E4A0F1.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4405
Deuteranopia (green-blind)
#4A4215
Tritanopia (blue-blind)
#2F473E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2e4a0f;
/* rgb */ color: rgb(46, 74, 15);
/* oklch */ color: oklch(37.3% 0.091 131.8);
Tailwind
colors: {
  custom: {
    50: '#6a7c52',
    500: '#2e4a0f',
    950: '#000000',
  },
}
SCSS
$custom: #2e4a0f;
$custom-light: #6a7c52;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4a0f",
  "rgb": {
    "r": 46,
    "g": 74,
    "b": 15
  },
  "hsl": {
    "h": 88.475,
    "s": 66.292,
    "l": 17.451
  },
  "oklch": {
    "l": 0.37337,
    "c": 0.09082,
    "h": 131.8
  },
  "luminance": 0.05513
}

Semantic roles & 50–950 ramp

primary
#2E4A0F
secondary
#583084
accent
#3FE990
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #2E4A0F

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

Preview Lab → · Contrast checker → · Palette generator →

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