#2E4B0D#2E4B0D

#2E4B0D is a dark, moderate yellow-green. Relative luminance 0.056; OKLCH L 37.6% C 0.094 H 131.8°. Best body text is #FFFFFF at 9.87:1 contrast (WCAG AA passes).

Color values

HEX#2E4B0D
RGBrgb(46, 75, 13)
HSLhsl(88, 70%, 17%)
HSVhsv(88, 83%, 29%)
CMYKcmyk(38.7%, 0%, 82.7%, 70.6%)
CIE-LABlab(28.49, -22.08, 31.30)
CIE-LCHlch(28.49, 38.31, 125.19°)
OKLaboklab(37.61% -0.0624 0.0698)
OKLCHoklch(37.61% 0.094 131.8)
XYZxyz(3.7154, 5.6419, 1.2739)
Luminance0.0564 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4B0D #2A0D4B
analogous
#4B490D #2E4B0D #0F4B0D
triadic
#2E4B0D #0D2E4B #4B0D2E
tetradic
#2E4B0D #0D4B49 #2A0D4B #4B0D0F
square
#2E4B0D #0D4B49 #2A0D4B #4B0D0F
split-complementary
#2E4B0D #0D0F4B #490D4B
monochromatic
#101A05 #101A05 #2E4B0D #4E7F16 #6EB31F

Accessibility & contrast

On white

9.87
#2E4B0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E4B0D
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4B0D#FFFFFF#000000##FFFFFF
##2E4B0D1.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e4b0d;
/* rgb */ color: rgb(46, 75, 13);
/* oklch */ color: oklch(37.6% 0.094 131.8);
Tailwind
colors: {
  custom: {
    50: '#6a7d51',
    500: '#2e4b0d',
    950: '#000000',
  },
}
SCSS
$custom: #2e4b0d;
$custom-light: #6a7d51;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4b0d",
  "rgb": {
    "r": 46,
    "g": 75,
    "b": 13
  },
  "hsl": {
    "h": 88.065,
    "s": 70.455,
    "l": 17.255
  },
  "oklch": {
    "l": 0.37612,
    "c": 0.09368,
    "h": 131.8
  },
  "luminance": 0.05642
}

Semantic roles & 50–950 ramp

primary
#2E4B0D
secondary
#572E86
accent
#3BED8E
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #2E4B0D

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

Preview Lab → · Contrast checker → · Palette generator →

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