#2E4A09#2E4A09

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

Color values

HEX#2E4A09
RGBrgb(46, 74, 9)
HSLhsl(86, 78%, 16%)
HSVhsv(86, 88%, 29%)
CMYKcmyk(37.8%, 0%, 87.8%, 71%)
CIE-LABlab(28.11, -21.82, 32.44)
CIE-LCHlch(28.11, 39.10, 123.93°)
OKLaboklab(37.29% -0.0621 0.0715)
OKLCHoklch(37.29% 0.095 131)
XYZxyz(3.6248, 5.4980, 1.1286)
Luminance0.0550 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4A09 #25094A
analogous
#4A4609 #2E4A09 #0E4A09
triadic
#2E4A09 #092E4A #4A092E
tetradic
#2E4A09 #094A46 #25094A #4A090E
square
#2E4A09 #094A46 #25094A #4A090E
split-complementary
#2E4A09 #090E4A #46094A
monochromatic
#111B03 #111B03 #2E4A09 #508110 #72B716

Accessibility & contrast

On white

10.00
#2E4A09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E4A09
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4A09#FFFFFF#000000##FFFFFF
##2E4A091.0010.002.1010.00
#FFFFFF10.001.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF10.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4400
Deuteranopia (green-blind)
#4A4210
Tritanopia (blue-blind)
#2F463E
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2e4a09;
/* rgb */ color: rgb(46, 74, 9);
/* oklch */ color: oklch(37.3% 0.095 131.0);
Tailwind
colors: {
  custom: {
    50: '#6a7c4f',
    500: '#2e4a09',
    950: '#000000',
  },
}
SCSS
$custom: #2e4a09;
$custom-light: #6a7c4f;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4a09",
  "rgb": {
    "r": 46,
    "g": 74,
    "b": 9
  },
  "hsl": {
    "h": 85.846,
    "s": 78.313,
    "l": 16.275
  },
  "oklch": {
    "l": 0.37292,
    "c": 0.09469,
    "h": 131
  },
  "luminance": 0.05498
}

Semantic roles & 50–950 ramp

primary
#2E4A09
secondary
#512787
accent
#33F586
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #2E4A09

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

Preview Lab → · Contrast checker → · Palette generator →

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