#2E4D0C#2E4D0C

#2E4D0C is a dark, moderate yellow-green. Relative luminance 0.059; OKLCH L 38.2% C 0.097 H 132.3°. Best body text is #FFFFFF at 9.62:1 contrast (WCAG AA passes).

Color values

HEX#2E4D0C
RGBrgb(46, 77, 12)
HSLhsl(89, 73%, 17%)
HSVhsv(89, 84%, 30%)
CMYKcmyk(40.3%, 0%, 84.4%, 69.8%)
CIE-LABlab(29.20, -23.14, 32.37)
CIE-LCHlch(29.20, 39.79, 125.57°)
OKLaboklab(38.19% -0.0654 0.0719)
OKLCHoklch(38.19% 0.097 132.3)
XYZxyz(3.8469, 5.9150, 1.2868)
Luminance0.0592 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4D0C #2B0C4D
analogous
#4D4B0C #2E4D0C #0E4D0C
triadic
#2E4D0C #0C2E4D #4D0C2E
tetradic
#2E4D0C #0C4D4B #2B0C4D #4D0C0E
square
#2E4D0C #0C4D4B #2B0C4D #4D0C0E
split-complementary
#2E4D0C #0C0E4D #4B0C4D
monochromatic
#101A04 #101A04 #2E4D0C #4E8214 #6DB71D

Accessibility & contrast

On white

9.62
#2E4D0C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#2E4D0C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4D0C
9.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4D0C#FFFFFF#000000##FFFFFF
##2E4D0C1.009.622.189.62
#FFFFFF9.621.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#514601
Deuteranopia (green-blind)
#4C4413
Tritanopia (blue-blind)
#2F4941
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2e4d0c;
/* rgb */ color: rgb(46, 77, 12);
/* oklch */ color: oklch(38.2% 0.097 132.3);
Tailwind
colors: {
  custom: {
    50: '#6a7f51',
    500: '#2e4d0c',
    950: '#000000',
  },
}
SCSS
$custom: #2e4d0c;
$custom-light: #6a7f51;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4d0c",
  "rgb": {
    "r": 46,
    "g": 77,
    "b": 12
  },
  "hsl": {
    "h": 88.615,
    "s": 73.034,
    "l": 17.451
  },
  "oklch": {
    "l": 0.38186,
    "c": 0.09719,
    "h": 132.3
  },
  "luminance": 0.05915
}

Semantic roles & 50–950 ramp

primary
#2E4D0C
secondary
#582C89
accent
#38F090
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070A02
muted
#7A7C78

Preview Lab

Preview with #2E4D0C

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

Preview Lab → · Contrast checker → · Palette generator →

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