#2E3B04#2E3B04

#2E3B04 is a dark, moderate yellow-green. Relative luminance 0.037; OKLCH L 32.9% C 0.077 H 122.8°. Best body text is #FFFFFF at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#2E3B04
RGBrgb(46, 59, 4)
HSLhsl(74, 87%, 12%)
HSVhsv(74, 93%, 23%)
CMYKcmyk(22%, 0%, 93.2%, 76.9%)
CIE-LABlab(22.71, -14.07, 29.30)
CIE-LCHlch(22.71, 32.51, 115.66°)
OKLaboklab(32.9% -0.0416 0.0646)
OKLCHoklch(32.9% 0.077 122.8)
XYZxyz(2.7126, 3.7175, 0.6895)
Luminance0.0372 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3B04 #11043B
analogous
#3B2D04 #2E3B04 #123B04
triadic
#2E3B04 #042E3B #3B042E
tetradic
#2E3B04 #043B2D #11043B #3B0412
square
#2E3B04 #043B2D #11043B #3B0412
split-complementary
#2E3B04 #04123B #2D043B
monochromatic
#161D02 #161D02 #2E3B04 #5B7408 #87AE0C

Accessibility & contrast

On white

12.04
#2E3B04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#2E3B04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3B04
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3B04#FFFFFF#000000##FFFFFF
##2E3B041.0012.041.7412.04
#FFFFFF12.041.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3700
Deuteranopia (green-blind)
#3D3609
Tritanopia (blue-blind)
#313731
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #2e3b04;
/* rgb */ color: rgb(46, 59, 4);
/* oklch */ color: oklch(32.9% 0.077 122.8);
Tailwind
colors: {
  custom: {
    50: '#69714a',
    500: '#2e3b04',
    950: '#000000',
  },
}
SCSS
$custom: #2e3b04;
$custom-light: #69714a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3b04",
  "rgb": {
    "r": 46,
    "g": 59,
    "b": 4
  },
  "hsl": {
    "h": 74.182,
    "s": 87.302,
    "l": 12.353
  },
  "oklch": {
    "l": 0.32897,
    "c": 0.0768,
    "h": 122.8
  },
  "luminance": 0.03718
}

Semantic roles & 50–950 ramp

primary
#2E3B04
secondary
#341E7D
accent
#2AFD5C
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2E3B04

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

Preview Lab → · Contrast checker → · Palette generator →

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