#2E3704#2E3704

#2E3704 is a dark, moderate yellow-green. Relative luminance 0.033; OKLCH L 31.7% C 0.071 H 119.6°. Best body text is #FFFFFF at 12.62:1 contrast (WCAG AA passes).

Color values

HEX#2E3704
RGBrgb(46, 55, 4)
HSLhsl(71, 86%, 12%)
HSVhsv(71, 93%, 22%)
CMYKcmyk(16.4%, 0%, 92.7%, 78.4%)
CIE-LABlab(21.29, -11.74, 27.79)
CIE-LCHlch(21.29, 30.17, 112.90°)
OKLaboklab(31.75% -0.0352 0.0619)
OKLCHoklch(31.75% 0.071 119.6)
XYZxyz(2.5149, 3.3220, 0.6236)
Luminance0.0332 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3704 #0D0437
analogous
#372704 #2E3704 #153704
triadic
#2E3704 #042E37 #37042E
tetradic
#2E3704 #043727 #0D0437 #370415
square
#2E3704 #043727 #0D0437 #370415
split-complementary
#2E3704 #041537 #270437
monochromatic
#181D02 #181D02 #2E3704 #5E7008 #8DA90C

Accessibility & contrast

On white

12.62
#2E3704 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.66
#2E3704 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3704
12.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3704#FFFFFF#000000##FFFFFF
##2E37041.0012.621.6612.62
#FFFFFF12.621.0021.001.00
#0000001.6621.001.0021.00
##FFFFFF12.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3300
Deuteranopia (green-blind)
#3A3308
Tritanopia (blue-blind)
#31332E
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #2e3704;
/* rgb */ color: rgb(46, 55, 4);
/* oklch */ color: oklch(31.7% 0.071 119.6);
Tailwind
colors: {
  custom: {
    50: '#696d49',
    500: '#2e3704',
    950: '#000000',
  },
}
SCSS
$custom: #2e3704;
$custom-light: #696d49;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3704",
  "rgb": {
    "r": 46,
    "g": 55,
    "b": 4
  },
  "hsl": {
    "h": 70.588,
    "s": 86.441,
    "l": 11.569
  },
  "oklch": {
    "l": 0.31747,
    "c": 0.07122,
    "h": 119.6
  },
  "luminance": 0.03322
}

Semantic roles & 50–950 ramp

primary
#2E3704
secondary
#2E1E79
accent
#2BFD50
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2E3704

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

Preview Lab → · Contrast checker → · Palette generator →

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