#2E4B0F#2E4B0F

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

Color values

HEX#2E4B0F
RGBrgb(46, 75, 15)
HSLhsl(89, 67%, 18%)
HSVhsv(89, 80%, 29%)
CMYKcmyk(38.7%, 0%, 80%, 70.6%)
CIE-LABlab(28.50, -21.93, 30.49)
CIE-LCHlch(28.50, 37.56, 125.72°)
OKLaboklab(37.63% -0.0619 0.0685)
OKLCHoklch(37.63% 0.092 132.1)
XYZxyz(3.7290, 5.6473, 1.3454)
Luminance0.0565 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4B0F #2C0F4B
analogous
#4B4A0F #2E4B0F #104B0F
triadic
#2E4B0F #0F2E4B #4B0F2E
tetradic
#2E4B0F #0F4B4A #2C0F4B #4B0F10
square
#2E4B0F #0F4B4A #2C0F4B #4B0F10
split-complementary
#2E4B0F #0F104B #4A0F4B
monochromatic
#101A05 #101A05 #2E4B0F #4D7E19 #6DB123

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E4B0F#FFFFFF#000000##FFFFFF
##2E4B0F1.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)
#4F4505
Deuteranopia (green-blind)
#4B4215
Tritanopia (blue-blind)
#2F483F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2e4b0f;
/* rgb */ color: rgb(46, 75, 15);
/* oklch */ color: oklch(37.6% 0.092 132.1);
Tailwind
colors: {
  custom: {
    50: '#6a7d52',
    500: '#2e4b0f',
    950: '#000000',
  },
}
SCSS
$custom: #2e4b0f;
$custom-light: #6a7d52;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4b0f",
  "rgb": {
    "r": 46,
    "g": 75,
    "b": 15
  },
  "hsl": {
    "h": 89,
    "s": 66.667,
    "l": 17.647
  },
  "oklch": {
    "l": 0.37628,
    "c": 0.0923,
    "h": 132.1
  },
  "luminance": 0.05647
}

Semantic roles & 50–950 ramp

primary
#2E4B0F
secondary
#593085
accent
#3EEA91
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070902
muted
#7A7B78

Preview Lab

Preview with #2E4B0F

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

Preview Lab → · Contrast checker → · Palette generator →

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