#2D3A0A#2D3A0A

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

Color values

HEX#2D3A0A
RGBrgb(45, 58, 10)
HSLhsl(76, 71%, 13%)
HSVhsv(76, 83%, 23%)
CMYKcmyk(22.4%, 0%, 82.8%, 77.3%)
CIE-LABlab(22.32, -13.57, 26.42)
CIE-LCHlch(22.32, 29.70, 117.18°)
OKLaboklab(32.57% -0.0394 0.0593)
OKLCHoklch(32.57% 0.071 123.7)
XYZxyz(2.6501, 3.6059, 0.8435)
Luminance0.0361 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3A0A #170A3A
analogous
#3A2F0A #2D3A0A #153A0A
triadic
#2D3A0A #0A2D3A #3A0A2D
tetradic
#2D3A0A #0A3A2F #170A3A #3A0A15
square
#2D3A0A #0A3A2F #170A3A #3A0A15
split-complementary
#2D3A0A #0A153A #2F0A3A
monochromatic
#141A05 #141A05 #2D3A0A #556E13 #7EA21C

Accessibility & contrast

On white

12.20
#2D3A0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D3A0A
12.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3A0A#FFFFFF#000000##FFFFFF
##2D3A0A1.0012.201.7212.20
#FFFFFF12.201.0021.001.00
#0000001.7221.001.0021.00
##FFFFFF12.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3E3603
Deuteranopia (green-blind)
#3C350E
Tritanopia (blue-blind)
#303731
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2d3a0a;
/* rgb */ color: rgb(45, 58, 10);
/* oklch */ color: oklch(32.6% 0.071 123.7);
Tailwind
colors: {
  custom: {
    50: '#68704d',
    500: '#2d3a0a',
    950: '#000000',
  },
}
SCSS
$custom: #2d3a0a;
$custom-light: #68704d;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3a0a",
  "rgb": {
    "r": 45,
    "g": 58,
    "b": 10
  },
  "hsl": {
    "h": 76.25,
    "s": 70.588,
    "l": 13.333
  },
  "oklch": {
    "l": 0.32575,
    "c": 0.07118,
    "h": 123.7
  },
  "luminance": 0.03606
}

Semantic roles & 50–950 ramp

primary
#2D3A0A
secondary
#3E2877
accent
#3AED6B
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2D3A0A

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

Preview Lab → · Contrast checker → · Palette generator →

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