#2D3A05#2D3A05

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

Color values

HEX#2D3A05
RGBrgb(45, 58, 5)
HSLhsl(75, 84%, 12%)
HSVhsv(75, 91%, 23%)
CMYKcmyk(22.4%, 0%, 91.4%, 77.3%)
CIE-LABlab(22.28, -13.93, 28.42)
CIE-LCHlch(22.28, 31.65, 116.11°)
OKLaboklab(32.53% -0.041 0.063)
OKLCHoklch(32.53% 0.075 123.1)
XYZxyz(2.6227, 3.5949, 0.6993)
Luminance0.0360 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3A05 #12053A
analogous
#3A2D05 #2D3A05 #133A05
triadic
#2D3A05 #052D3A #3A052D
tetradic
#2D3A05 #053A2D #12053A #3A0513
square
#2D3A05 #053A2D #12053A #3A0513
split-complementary
#2D3A05 #05133A #2D053A
monochromatic
#161C02 #161C02 #2D3A05 #59720A #84AB0F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D3A05#FFFFFF#000000##FFFFFF
##2D3A051.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)
#3C350A
Tritanopia (blue-blind)
#303730
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2d3a05;
/* rgb */ color: rgb(45, 58, 5);
/* oklch */ color: oklch(32.5% 0.075 123.1);
Tailwind
colors: {
  custom: {
    50: '#68704a',
    500: '#2d3a05',
    950: '#000000',
  },
}
SCSS
$custom: #2d3a05;
$custom-light: #68704a;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3a05",
  "rgb": {
    "r": 45,
    "g": 58,
    "b": 5
  },
  "hsl": {
    "h": 74.717,
    "s": 84.127,
    "l": 12.353
  },
  "oklch": {
    "l": 0.32531,
    "c": 0.07512,
    "h": 123.1
  },
  "luminance": 0.03595
}

Semantic roles & 50–950 ramp

primary
#2D3A05
secondary
#36207B
accent
#2DFA60
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2D3A05

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

Preview Lab → · Contrast checker → · Palette generator →

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