#2E4207#2E4207

#2E4207 is a dark, moderate yellow-green. Relative luminance 0.045; OKLCH L 34.9% C 0.085 H 127.4°. Best body text is #FFFFFF at 11.06:1 contrast (WCAG AA passes).

Color values

HEX#2E4207
RGBrgb(46, 66, 7)
HSLhsl(80, 81%, 14%)
HSVhsv(80, 89%, 26%)
CMYKcmyk(30.3%, 0%, 89.4%, 74.1%)
CIE-LABlab(25.24, -17.77, 30.58)
CIE-LCHlch(25.24, 35.37, 120.16°)
OKLaboklab(34.95% -0.0513 0.0672)
OKLCHoklch(34.95% 0.085 127.4)
XYZxyz(3.1133, 4.4925, 0.9041)
Luminance0.0449 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4207 #1B0742
analogous
#423907 #2E4207 #114207
triadic
#2E4207 #072E42 #42072E
tetradic
#2E4207 #074239 #1B0742 #420711
square
#2E4207 #074239 #1B0742 #420711
split-complementary
#2E4207 #071142 #390742
monochromatic
#131C03 #131C03 #2E4207 #55790D #7BB113

Accessibility & contrast

On white

11.06
#2E4207 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2E4207 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E4207
11.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E4207#FFFFFF#000000##FFFFFF
##2E42071.0011.061.9011.06
#FFFFFF11.061.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463D00
Deuteranopia (green-blind)
#433B0D
Tritanopia (blue-blind)
#303E37
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2e4207;
/* rgb */ color: rgb(46, 66, 7);
/* oklch */ color: oklch(34.9% 0.085 127.4);
Tailwind
colors: {
  custom: {
    50: '#69764c',
    500: '#2e4207',
    950: '#000000',
  },
}
SCSS
$custom: #2e4207;
$custom-light: #69764c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4207",
  "rgb": {
    "r": 46,
    "g": 66,
    "b": 7
  },
  "hsl": {
    "h": 80.339,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.34949,
    "c": 0.08452,
    "h": 127.4
  },
  "luminance": 0.04493
}

Semantic roles & 50–950 ramp

primary
#2E4207
secondary
#432481
accent
#31F774
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2E4207

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

Preview Lab → · Contrast checker → · Palette generator →

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