#2E3803#2E3803

#2E3803 is a dark, moderate yellow-green. Relative luminance 0.034; OKLCH L 32.0% C 0.073 H 120.4°. Best body text is #FFFFFF at 12.48:1 contrast (WCAG AA passes).

Color values

HEX#2E3803
RGBrgb(46, 56, 3)
HSLhsl(71, 90%, 12%)
HSVhsv(71, 95%, 22%)
CMYKcmyk(17.9%, 0%, 94.6%, 78%)
CIE-LABlab(21.64, -12.40, 28.57)
CIE-LCHlch(21.64, 31.15, 113.47°)
OKLaboklab(32.03% -0.0372 0.0634)
OKLCHoklch(32.03% 0.073 120.4)
XYZxyz(2.5574, 3.4158, 0.6107)
Luminance0.0342 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3803 #0D0338
analogous
#382803 #2E3803 #143803
triadic
#2E3803 #032E38 #38032E
tetradic
#2E3803 #033828 #0D0338 #380314
square
#2E3803 #033828 #0D0338 #380314
split-complementary
#2E3803 #031438 #280338
monochromatic
#181D02 #181D02 #2E3803 #5E7206 #8DAC09

Accessibility & contrast

On white

12.48
#2E3803 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#2E3803 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3803
12.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3803#FFFFFF#000000##FFFFFF
##2E38031.0012.481.6812.48
#FFFFFF12.481.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3400
Deuteranopia (green-blind)
#3B3407
Tritanopia (blue-blind)
#31342E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2e3803;
/* rgb */ color: rgb(46, 56, 3);
/* oklch */ color: oklch(32.0% 0.073 120.4);
Tailwind
colors: {
  custom: {
    50: '#696e49',
    500: '#2e3803',
    950: '#000000',
  },
}
SCSS
$custom: #2e3803;
$custom-light: #696e49;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3803",
  "rgb": {
    "r": 46,
    "g": 56,
    "b": 3
  },
  "hsl": {
    "h": 71.321,
    "s": 89.831,
    "l": 11.569
  },
  "oklch": {
    "l": 0.32025,
    "c": 0.07346,
    "h": 120.4
  },
  "luminance": 0.03416
}

Semantic roles & 50–950 ramp

primary
#2E3803
secondary
#2E1C7B
accent
#29FF51
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2E3803

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

Preview Lab → · Contrast checker → · Palette generator →

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