#2E4604#2E4604

#2E4604 is a dark, moderate yellow-green. Relative luminance 0.050; OKLCH L 36.1% C 0.092 H 128.8°. Best body text is #FFFFFF at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#2E4604
RGBrgb(46, 70, 4)
HSLhsl(82, 89%, 15%)
HSVhsv(82, 94%, 27%)
CMYKcmyk(34.3%, 0%, 94.3%, 72.5%)
CIE-LABlab(26.65, -20.08, 33.10)
CIE-LCHlch(26.65, 38.71, 121.24°)
OKLaboklab(36.09% -0.0578 0.0718)
OKLCHoklch(36.09% 0.092 128.8)
XYZxyz(3.3388, 4.9698, 0.8982)
Luminance0.0497 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4604 #1C0446
analogous
#463D04 #2E4604 #0D4604
triadic
#2E4604 #042E46 #46042E
tetradic
#2E4604 #04463D #1C0446 #46040D
square
#2E4604 #04463D #1C0446 #46040D
split-complementary
#2E4604 #040D46 #3D0446
monochromatic
#131D02 #131D02 #2E4604 #548007 #7ABA0B

Accessibility & contrast

On white

10.53
#2E4604 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.99
#2E4604 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4604
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4604#FFFFFF#000000##FFFFFF
##2E46041.0010.531.9910.53
#FFFFFF10.531.0021.001.00
#0000001.9921.001.0021.00
##FFFFFF10.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4A4000
Deuteranopia (green-blind)
#473E0B
Tritanopia (blue-blind)
#30423A
Achromatopsia (no color)
#3F3F3F

Design tokens & code

CSS
--color: #2e4604;
/* rgb */ color: rgb(46, 70, 4);
/* oklch */ color: oklch(36.1% 0.092 128.8);
Tailwind
colors: {
  custom: {
    50: '#6a794c',
    500: '#2e4604',
    950: '#000000',
  },
}
SCSS
$custom: #2e4604;
$custom-light: #6a794c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4604",
  "rgb": {
    "r": 46,
    "g": 70,
    "b": 4
  },
  "hsl": {
    "h": 81.818,
    "s": 89.189,
    "l": 14.51
  },
  "oklch": {
    "l": 0.36092,
    "c": 0.09217,
    "h": 128.8
  },
  "luminance": 0.0497
}

Semantic roles & 50–950 ramp

primary
#2E4604
secondary
#451F87
accent
#29FF77
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#070901
muted
#7A7B77

Preview Lab

Preview with #2E4604

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

Preview Lab → · Contrast checker → · Palette generator →

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