#2E3A04#2E3A04

#2E3A04 is a dark, moderate yellow-green. Relative luminance 0.036; OKLCH L 32.6% C 0.075 H 122.1°. Best body text is #FFFFFF at 12.19:1 contrast (WCAG AA passes).

Color values

HEX#2E3A04
RGBrgb(46, 58, 4)
HSLhsl(73, 87%, 12%)
HSVhsv(73, 93%, 23%)
CMYKcmyk(20.7%, 0%, 93.1%, 77.3%)
CIE-LABlab(22.36, -13.50, 28.93)
CIE-LCHlch(22.36, 31.92, 115.02°)
OKLaboklab(32.61% -0.04 0.0639)
OKLCHoklch(32.61% 0.075 122.1)
XYZxyz(2.6617, 3.6157, 0.6725)
Luminance0.0362 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2E3A04 #10043A
analogous
#3A2B04 #2E3A04 #133A04
triadic
#2E3A04 #042E3A #3A042E
tetradic
#2E3A04 #043A2B #10043A #3A0413
square
#2E3A04 #043A2B #10043A #3A0413
split-complementary
#2E3A04 #04133A #2B043A
monochromatic
#171D02 #171D02 #2E3A04 #5B7308 #89AD0C

Accessibility & contrast

On white

12.19
#2E3A04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.72
#2E3A04 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2E3A04
12.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2E3A04#FFFFFF#000000##FFFFFF
##2E3A041.0012.191.7212.19
#FFFFFF12.191.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.191.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3600
Deuteranopia (green-blind)
#3D3509
Tritanopia (blue-blind)
#313630
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2e3a04;
/* rgb */ color: rgb(46, 58, 4);
/* oklch */ color: oklch(32.6% 0.075 122.1);
Tailwind
colors: {
  custom: {
    50: '#69704a',
    500: '#2e3a04',
    950: '#000000',
  },
}
SCSS
$custom: #2e3a04;
$custom-light: #69704a;
$custom-dark: #000000;
JSON
{
  "hex": "#2e3a04",
  "rgb": {
    "r": 46,
    "g": 58,
    "b": 4
  },
  "hsl": {
    "h": 73.333,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.32609,
    "c": 0.07539,
    "h": 122.1
  },
  "luminance": 0.03616
}

Semantic roles & 50–950 ramp

primary
#2E3A04
secondary
#331E7C
accent
#2BFD59
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2E3A04

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

Preview Lab → · Contrast checker → · Palette generator →

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