#2E4B10#2E4B10

#2E4B10 is a dark, moderate yellow-green. Relative luminance 0.057; OKLCH L 37.6% C 0.092 H 132.3°. Best body text is #FFFFFF at 9.86:1 contrast (WCAG AA passes).

Color values

HEX#2E4B10
RGBrgb(46, 75, 16)
HSLhsl(89, 65%, 18%)
HSVhsv(89, 79%, 29%)
CMYKcmyk(38.7%, 0%, 78.7%, 70.6%)
CIE-LABlab(28.51, -21.86, 30.07)
CIE-LCHlch(28.51, 37.17, 126.01°)
OKLaboklab(37.64% -0.0616 0.0678)
OKLCHoklch(37.64% 0.092 132.3)
XYZxyz(3.7363, 5.6503, 1.3839)
Luminance0.0565 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4B10 #2D104B
analogous
#4B4A10 #2E4B10 #104B10
triadic
#2E4B10 #102E4B #4B102E
tetradic
#2E4B10 #104B4A #2D104B #4B1010
square
#2E4B10 #104B4A #2D104B #4B1010
split-complementary
#2E4B10 #10104B #4A104B
monochromatic
#0F1905 #0F1905 #2E4B10 #4D7D1B #6CB026

Accessibility & contrast

On white

9.86
#2E4B10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2E4B10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4B10
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4B10#FFFFFF#000000##FFFFFF
##2E4B101.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4506
Deuteranopia (green-blind)
#4A4215
Tritanopia (blue-blind)
#2F483F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2e4b10;
/* rgb */ color: rgb(46, 75, 16);
/* oklch */ color: oklch(37.6% 0.092 132.3);
Tailwind
colors: {
  custom: {
    50: '#6a7d52',
    500: '#2e4b10',
    950: '#000000',
  },
}
SCSS
$custom: #2e4b10;
$custom-light: #6a7d52;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4b10",
  "rgb": {
    "r": 46,
    "g": 75,
    "b": 16
  },
  "hsl": {
    "h": 89.492,
    "s": 64.835,
    "l": 17.843
  },
  "oklch": {
    "l": 0.37636,
    "c": 0.09157,
    "h": 132.3
  },
  "luminance": 0.0565
}

Semantic roles & 50–950 ramp

primary
#2E4B10
secondary
#5B3285
accent
#40E892
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #2E4B10

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

Preview Lab → · Contrast checker → · Palette generator →

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