#2E3A06#2E3A06

#2E3A06 is a dark, moderate yellow-green. Relative luminance 0.036; OKLCH L 32.6% C 0.074 H 122.3°. Best body text is #FFFFFF at 12.18:1 contrast (WCAG AA passes).

Color values

HEX#2E3A06
RGBrgb(46, 58, 6)
HSLhsl(74, 81%, 13%)
HSVhsv(74, 90%, 23%)
CMYKcmyk(20.7%, 0%, 89.7%, 77.3%)
CIE-LABlab(22.37, -13.36, 28.13)
CIE-LCHlch(22.37, 31.14, 115.40°)
OKLaboklab(32.63% -0.0394 0.0624)
OKLCHoklch(32.63% 0.074 122.3)
XYZxyz(2.6727, 3.6201, 0.7302)
Luminance0.0362 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3A06 #12063A
analogous
#3A2C06 #2E3A06 #143A06
triadic
#2E3A06 #062E3A #3A062E
tetradic
#2E3A06 #063A2C #12063A #3A0614
square
#2E3A06 #063A2C #12063A #3A0614
split-complementary
#2E3A06 #06143A #2C063A
monochromatic
#161C03 #161C03 #2E3A06 #5A710C #86A911

Accessibility & contrast

On white

12.18
#2E3A06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#2E3A06 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3A06
12.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3A06#FFFFFF#000000##FFFFFF
##2E3A061.0012.181.7212.18
#FFFFFF12.181.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3600
Deuteranopia (green-blind)
#3D350B
Tritanopia (blue-blind)
#313630
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2e3a06;
/* rgb */ color: rgb(46, 58, 6);
/* oklch */ color: oklch(32.6% 0.074 122.3);
Tailwind
colors: {
  custom: {
    50: '#69704b',
    500: '#2e3a06',
    950: '#000000',
  },
}
SCSS
$custom: #2e3a06;
$custom-light: #69704b;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3a06",
  "rgb": {
    "r": 46,
    "g": 58,
    "b": 6
  },
  "hsl": {
    "h": 73.846,
    "s": 81.25,
    "l": 12.549
  },
  "oklch": {
    "l": 0.32627,
    "c": 0.07378,
    "h": 122.3
  },
  "luminance": 0.0362
}

Semantic roles & 50–950 ramp

primary
#2E3A06
secondary
#36227A
accent
#30F85E
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2E3A06

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

Preview Lab → · Contrast checker → · Palette generator →

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