#2E3903#2E3903

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

Color values

HEX#2E3903
RGBrgb(46, 57, 3)
HSLhsl(72, 90%, 12%)
HSVhsv(72, 95%, 22%)
CMYKcmyk(19.3%, 0%, 94.7%, 77.6%)
CIE-LABlab(21.99, -12.99, 28.95)
CIE-LCHlch(21.99, 31.73, 114.17°)
OKLaboklab(32.31% -0.0388 0.064)
OKLCHoklch(32.31% 0.075 121.2)
XYZxyz(2.6063, 3.5137, 0.6270)
Luminance0.0351 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3903 #0E0339
analogous
#392903 #2E3903 #133903
triadic
#2E3903 #032E39 #39032E
tetradic
#2E3903 #033929 #0E0339 #390313
square
#2E3903 #033929 #0E0339 #390313
split-complementary
#2E3903 #031339 #290339
monochromatic
#171D02 #171D02 #2E3903 #5D7306 #8CAD09

Accessibility & contrast

On white

12.33
#2E3903 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2E3903
12.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3903#FFFFFF#000000##FFFFFF
##2E39031.0012.331.7012.33
#FFFFFF12.331.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.331.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2e3903;
/* rgb */ color: rgb(46, 57, 3);
/* oklch */ color: oklch(32.3% 0.075 121.2);
Tailwind
colors: {
  custom: {
    50: '#696f49',
    500: '#2e3903',
    950: '#000000',
  },
}
SCSS
$custom: #2e3903;
$custom-light: #696f49;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3903",
  "rgb": {
    "r": 46,
    "g": 57,
    "b": 3
  },
  "hsl": {
    "h": 72.222,
    "s": 90,
    "l": 11.765
  },
  "oklch": {
    "l": 0.32312,
    "c": 0.07484,
    "h": 121.2
  },
  "luminance": 0.03514
}

Semantic roles & 50–950 ramp

primary
#2E3903
secondary
#301C7C
accent
#29FF54
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2E3903

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

Preview Lab → · Contrast checker → · Palette generator →

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