#2E3A02#2E3A02

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

Color values

HEX#2E3A02
RGBrgb(46, 58, 2)
HSLhsl(73, 93%, 12%)
HSVhsv(73, 97%, 23%)
CMYKcmyk(20.7%, 0%, 96.6%, 77.3%)
CIE-LABlab(22.34, -13.64, 29.73)
CIE-LCHlch(22.34, 32.71, 114.65°)
OKLaboklab(32.59% -0.0407 0.0654)
OKLCHoklch(32.59% 0.077 121.9)
XYZxyz(2.6508, 3.6113, 0.6148)
Luminance0.0361 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3A02 #0E023A
analogous
#3A2A02 #2E3A02 #123A02
triadic
#2E3A02 #022E3A #3A022E
tetradic
#2E3A02 #023A2A #0E023A #3A0212
square
#2E3A02 #023A2A #0E023A #3A0212
split-complementary
#2E3A02 #02123A #2A023A
monochromatic
#171E01 #171E01 #2E3A02 #5D7504 #8CB006

Accessibility & contrast

On white

12.19
#2E3A02 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E3A02
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3A02#FFFFFF#000000##FFFFFF
##2E3A021.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e3a02;
/* rgb */ color: rgb(46, 58, 2);
/* oklch */ color: oklch(32.6% 0.077 121.9);
Tailwind
colors: {
  custom: {
    50: '#697049',
    500: '#2e3a02',
    950: '#000000',
  },
}
SCSS
$custom: #2e3a02;
$custom-light: #697049;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3a02",
  "rgb": {
    "r": 46,
    "g": 58,
    "b": 2
  },
  "hsl": {
    "h": 72.857,
    "s": 93.333,
    "l": 11.765
  },
  "oklch": {
    "l": 0.32592,
    "c": 0.07704,
    "h": 121.9
  },
  "luminance": 0.03611
}

Semantic roles & 50–950 ramp

primary
#2E3A02
secondary
#301A7D
accent
#29FF57
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2E3A02

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

Preview Lab → · Contrast checker → · Palette generator →

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