#2D3A04#2D3A04

#2D3A04 is a dark, moderate yellow-green. Relative luminance 0.036; OKLCH L 32.5% C 0.076 H 123.0°. Best body text is #FFFFFF at 12.22:1 contrast (WCAG AA passes).

Color values

HEX#2D3A04
RGBrgb(45, 58, 4)
HSLhsl(74, 87%, 12%)
HSVhsv(74, 93%, 23%)
CMYKcmyk(22.4%, 0%, 93.1%, 77.3%)
CIE-LABlab(22.28, -14.00, 28.82)
CIE-LCHlch(22.28, 32.04, 115.91°)
OKLaboklab(32.52% -0.0413 0.0637)
OKLCHoklch(32.52% 0.076 123)
XYZxyz(2.6172, 3.5928, 0.6704)
Luminance0.0359 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3A04 #11043A
analogous
#3A2C04 #2D3A04 #123A04
triadic
#2D3A04 #042D3A #3A042D
tetradic
#2D3A04 #043A2C #11043A #3A0412
square
#2D3A04 #043A2C #11043A #3A0412
split-complementary
#2D3A04 #04123A #2C043A
monochromatic
#161D02 #161D02 #2D3A04 #597308 #86AD0C

Accessibility & contrast

On white

12.22
#2D3A04 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D3A04
12.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3A04#FFFFFF#000000##FFFFFF
##2D3A041.0012.221.7212.22
#FFFFFF12.221.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.221.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d3a04;
/* rgb */ color: rgb(45, 58, 4);
/* oklch */ color: oklch(32.5% 0.076 123.0);
Tailwind
colors: {
  custom: {
    50: '#68704a',
    500: '#2d3a04',
    950: '#000000',
  },
}
SCSS
$custom: #2d3a04;
$custom-light: #68704a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3a04",
  "rgb": {
    "r": 45,
    "g": 58,
    "b": 4
  },
  "hsl": {
    "h": 74.444,
    "s": 87.097,
    "l": 12.157
  },
  "oklch": {
    "l": 0.32522,
    "c": 0.07594,
    "h": 123
  },
  "luminance": 0.03593
}

Semantic roles & 50–950 ramp

primary
#2D3A04
secondary
#351E7C
accent
#2BFD5D
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2D3A04

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

Preview Lab → · Contrast checker → · Palette generator →

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