#2E3905#2E3905

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

Color values

HEX#2E3905
RGBrgb(46, 57, 5)
HSLhsl(73, 84%, 12%)
HSVhsv(73, 91%, 22%)
CMYKcmyk(19.3%, 0%, 91.2%, 77.6%)
CIE-LABlab(22.01, -12.85, 28.15)
CIE-LCHlch(22.01, 30.95, 114.53°)
OKLaboklab(32.33% -0.0381 0.0625)
OKLCHoklch(32.33% 0.073 121.4)
XYZxyz(2.6173, 3.5181, 0.6847)
Luminance0.0352 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3905 #100539
analogous
#392A05 #2E3905 #143905
triadic
#2E3905 #052E39 #39052E
tetradic
#2E3905 #05392A #100539 #390514
square
#2E3905 #05392A #100539 #390514
split-complementary
#2E3905 #051439 #2A0539
monochromatic
#171C02 #171C02 #2E3905 #5B710A #89AA0F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2E3905#FFFFFF#000000##FFFFFF
##2E39051.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)
#3C350A
Tritanopia (blue-blind)
#31352F
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2e3905;
/* rgb */ color: rgb(46, 57, 5);
/* oklch */ color: oklch(32.3% 0.073 121.4);
Tailwind
colors: {
  custom: {
    50: '#696f4a',
    500: '#2e3905',
    950: '#000000',
  },
}
SCSS
$custom: #2e3905;
$custom-light: #696f4a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3905",
  "rgb": {
    "r": 46,
    "g": 57,
    "b": 5
  },
  "hsl": {
    "h": 72.692,
    "s": 83.871,
    "l": 12.157
  },
  "oklch": {
    "l": 0.3233,
    "c": 0.07317,
    "h": 121.4
  },
  "luminance": 0.03518
}

Semantic roles & 50–950 ramp

primary
#2E3905
secondary
#33207A
accent
#2EFA59
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2E3905

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

Preview Lab → · Contrast checker → · Palette generator →

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