#2E4C0B#2E4C0B

#2E4C0B is a dark, moderate yellow-green. Relative luminance 0.058; OKLCH L 37.9% C 0.096 H 131.9°. Best body text is #FFFFFF at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#2E4C0B
RGBrgb(46, 76, 11)
HSLhsl(88, 75%, 17%)
HSVhsv(88, 86%, 30%)
CMYKcmyk(39.5%, 0%, 85.5%, 70.2%)
CIE-LABlab(28.83, -22.71, 32.40)
CIE-LCHlch(28.83, 39.56, 125.03°)
OKLaboklab(37.89% -0.0643 0.0718)
OKLCHoklch(37.89% 0.096 131.9)
XYZxyz(3.7715, 5.7737, 1.2323)
Luminance0.0577 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4C0B #290B4C
analogous
#4C4A0B #2E4C0B #0E4C0B
triadic
#2E4C0B #0B2E4C #4C0B2E
tetradic
#2E4C0B #0B4C4A #290B4C #4C0B0E
square
#2E4C0B #0B4C4A #290B4C #4C0B0E
split-complementary
#2E4C0B #0B0E4C #4A0B4C
monochromatic
#101B04 #101B04 #2E4C0B #4E8113 #6FB71A

Accessibility & contrast

On white

9.75
#2E4C0B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2E4C0B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4C0B
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4C0B#FFFFFF#000000##FFFFFF
##2E4C0B1.009.752.159.75
#FFFFFF9.751.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504500
Deuteranopia (green-blind)
#4C4312
Tritanopia (blue-blind)
#2F4840
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2e4c0b;
/* rgb */ color: rgb(46, 76, 11);
/* oklch */ color: oklch(37.9% 0.096 131.9);
Tailwind
colors: {
  custom: {
    50: '#6a7e50',
    500: '#2e4c0b',
    950: '#000000',
  },
}
SCSS
$custom: #2e4c0b;
$custom-light: #6a7e50;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4c0b",
  "rgb": {
    "r": 46,
    "g": 76,
    "b": 11
  },
  "hsl": {
    "h": 87.692,
    "s": 74.713,
    "l": 17.059
  },
  "oklch": {
    "l": 0.37888,
    "c": 0.09638,
    "h": 131.9
  },
  "luminance": 0.05774
}

Semantic roles & 50–950 ramp

primary
#2E4C0B
secondary
#562B88
accent
#36F18D
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070A02
muted
#7A7C78

Preview Lab

Preview with #2E4C0B

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

Preview Lab → · Contrast checker → · Palette generator →

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