#2E4206#2E4206

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

Color values

HEX#2E4206
RGBrgb(46, 66, 6)
HSLhsl(80, 83%, 14%)
HSVhsv(80, 91%, 26%)
CMYKcmyk(30.3%, 0%, 90.9%, 74.1%)
CIE-LABlab(25.23, -17.83, 30.98)
CIE-LCHlch(25.23, 35.75, 119.92°)
OKLaboklab(34.94% -0.0516 0.0678)
OKLCHoklch(34.94% 0.085 127.2)
XYZxyz(3.1078, 4.4904, 0.8752)
Luminance0.0449 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E4206 #1A0642
analogous
#423806 #2E4206 #104206
triadic
#2E4206 #062E42 #42062E
tetradic
#2E4206 #064238 #1A0642 #420610
square
#2E4206 #064238 #1A0642 #420610
split-complementary
#2E4206 #061042 #380642
monochromatic
#141C03 #141C03 #2E4206 #557A0B #7CB210

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E4206#FFFFFF#000000##FFFFFF
##2E42061.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)
#433B0C
Tritanopia (blue-blind)
#303E37
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2e4206;
/* rgb */ color: rgb(46, 66, 6);
/* oklch */ color: oklch(34.9% 0.085 127.2);
Tailwind
colors: {
  custom: {
    50: '#69764c',
    500: '#2e4206',
    950: '#000000',
  },
}
SCSS
$custom: #2e4206;
$custom-light: #69764c;
$custom-dark: #000000;
JSON
{
  "hex": "#2e4206",
  "rgb": {
    "r": 46,
    "g": 66,
    "b": 6
  },
  "hsl": {
    "h": 80,
    "s": 83.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.34942,
    "c": 0.08522,
    "h": 127.2
  },
  "luminance": 0.0449
}

Semantic roles & 50–950 ramp

primary
#2E4206
secondary
#422282
accent
#2EFA72
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2E4206

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

Preview Lab → · Contrast checker → · Palette generator →

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