#2E4C09#2E4C09

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

Color values

HEX#2E4C09
RGBrgb(46, 76, 9)
HSLhsl(87, 79%, 17%)
HSVhsv(87, 88%, 30%)
CMYKcmyk(39.5%, 0%, 88.2%, 70.2%)
CIE-LABlab(28.82, -22.83, 33.10)
CIE-LCHlch(28.82, 40.21, 124.59°)
OKLaboklab(37.88% -0.0648 0.0729)
OKLCHoklch(37.88% 0.098 131.6)
XYZxyz(3.7604, 5.7693, 1.1738)
Luminance0.0577 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4C09 #27094C
analogous
#4C4909 #2E4C09 #0C4C09
triadic
#2E4C09 #092E4C #4C092E
tetradic
#2E4C09 #094C49 #27094C #4C090C
square
#2E4C09 #094C49 #27094C #4C090C
split-complementary
#2E4C09 #090C4C #49094C
monochromatic
#111B03 #111B03 #2E4C09 #4F830F #70B916

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E4C09#FFFFFF#000000##FFFFFF
##2E4C091.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)
#4C4311
Tritanopia (blue-blind)
#2F4840
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2e4c09;
/* rgb */ color: rgb(46, 76, 9);
/* oklch */ color: oklch(37.9% 0.098 131.6);
Tailwind
colors: {
  custom: {
    50: '#6a7e4f',
    500: '#2e4c09',
    950: '#000000',
  },
}
SCSS
$custom: #2e4c09;
$custom-light: #6a7e4f;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4c09",
  "rgb": {
    "r": 46,
    "g": 76,
    "b": 9
  },
  "hsl": {
    "h": 86.866,
    "s": 78.824,
    "l": 16.667
  },
  "oklch": {
    "l": 0.37875,
    "c": 0.09752,
    "h": 131.6
  },
  "luminance": 0.05769
}

Semantic roles & 50–950 ramp

primary
#2E4C09
secondary
#532889
accent
#33F58A
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070A02
muted
#7A7C78

Preview Lab

Preview with #2E4C09

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

Preview Lab → · Contrast checker → · Palette generator →

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