#2E4A10#2E4A10

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

Color values

HEX#2E4A10
RGBrgb(46, 74, 16)
HSLhsl(89, 64%, 18%)
HSVhsv(89, 78%, 29%)
CMYKcmyk(37.8%, 0%, 78.4%, 71%)
CIE-LABlab(28.16, -21.35, 29.71)
CIE-LCHlch(28.16, 36.58, 125.70°)
OKLaboklab(37.35% -0.0602 0.067)
OKLCHoklch(37.35% 0.09 131.9)
XYZxyz(3.6690, 5.5157, 1.3614)
Luminance0.0552 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4A10 #2C104A
analogous
#4A4910 #2E4A10 #114A10
triadic
#2E4A10 #102E4A #4A102E
tetradic
#2E4A10 #104A49 #2C104A #4A1011
square
#2E4A10 #104A49 #2C104A #4A1011
split-complementary
#2E4A10 #10114A #49104A
monochromatic
#101905 #101905 #2E4A10 #4D7C1B #6DAF26

Accessibility & contrast

On white

9.98
#2E4A10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E4A10
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4A10#FFFFFF#000000##FFFFFF
##2E4A101.009.982.109.98
#FFFFFF9.981.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.981.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e4a10;
/* rgb */ color: rgb(46, 74, 16);
/* oklch */ color: oklch(37.3% 0.090 131.9);
Tailwind
colors: {
  custom: {
    50: '#6a7c52',
    500: '#2e4a10',
    950: '#000000',
  },
}
SCSS
$custom: #2e4a10;
$custom-light: #6a7c52;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4a10",
  "rgb": {
    "r": 46,
    "g": 74,
    "b": 16
  },
  "hsl": {
    "h": 88.966,
    "s": 64.444,
    "l": 17.647
  },
  "oklch": {
    "l": 0.37346,
    "c": 0.09009,
    "h": 131.9
  },
  "luminance": 0.05516
}

Semantic roles & 50–950 ramp

primary
#2E4A10
secondary
#593284
accent
#40E791
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2E4A10

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

Preview Lab → · Contrast checker → · Palette generator →

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