#2E3902#2E3902

#2E3902 is a dark, moderate yellow-green. Relative luminance 0.035; OKLCH L 32.3% C 0.076 H 121.1°. Best body text is #FFFFFF at 12.34:1 contrast (WCAG AA passes).

Color values

HEX#2E3902
RGBrgb(46, 57, 2)
HSLhsl(72, 93%, 12%)
HSVhsv(72, 96%, 22%)
CMYKcmyk(19.3%, 0%, 96.5%, 77.6%)
CIE-LABlab(21.99, -13.06, 29.35)
CIE-LCHlch(21.99, 32.13, 113.99°)
OKLaboklab(32.3% -0.0391 0.0648)
OKLCHoklch(32.3% 0.076 121.1)
XYZxyz(2.6009, 3.5115, 0.5982)
Luminance0.0351 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3902 #0D0239
analogous
#392902 #2E3902 #133902
triadic
#2E3902 #022E39 #39022E
tetradic
#2E3902 #023929 #0D0239 #390213
square
#2E3902 #023929 #0D0239 #390213
split-complementary
#2E3902 #021339 #290239
monochromatic
#181E01 #181E01 #2E3902 #5E7404 #8DAF06

Accessibility & contrast

On white

12.34
#2E3902 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#2E3902 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3902
12.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3902#FFFFFF#000000##FFFFFF
##2E39021.0012.341.7012.34
#FFFFFF12.341.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3500
Deuteranopia (green-blind)
#3C3507
Tritanopia (blue-blind)
#31352F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2e3902;
/* rgb */ color: rgb(46, 57, 2);
/* oklch */ color: oklch(32.3% 0.076 121.1);
Tailwind
colors: {
  custom: {
    50: '#696f49',
    500: '#2e3902',
    950: '#000000',
  },
}
SCSS
$custom: #2e3902;
$custom-light: #696f49;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3902",
  "rgb": {
    "r": 46,
    "g": 57,
    "b": 2
  },
  "hsl": {
    "h": 72,
    "s": 93.22,
    "l": 11.569
  },
  "oklch": {
    "l": 0.32303,
    "c": 0.07568,
    "h": 121.1
  },
  "luminance": 0.03511
}

Semantic roles & 50–950 ramp

primary
#2E3902
secondary
#2E1A7D
accent
#29FF54
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2E3902

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

Preview Lab → · Contrast checker → · Palette generator →

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