#2D3A03#2D3A03

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

Color values

HEX#2D3A03
RGBrgb(45, 58, 3)
HSLhsl(74, 90%, 12%)
HSVhsv(74, 95%, 23%)
CMYKcmyk(22.4%, 0%, 94.8%, 77.3%)
CIE-LABlab(22.27, -14.07, 29.22)
CIE-LCHlch(22.27, 32.43, 115.72°)
OKLaboklab(32.51% -0.0416 0.0645)
OKLCHoklch(32.51% 0.077 122.8)
XYZxyz(2.6117, 3.5906, 0.6416)
Luminance0.0359 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3A03 #10033A
analogous
#3A2C03 #2D3A03 #123A03
triadic
#2D3A03 #032D3A #3A032D
tetradic
#2D3A03 #033A2C #10033A #3A0312
square
#2D3A03 #033A2C #10033A #3A0312
split-complementary
#2D3A03 #03123A #2C033A
monochromatic
#171D02 #171D02 #2D3A03 #5A7406 #87AE09

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D3A03#FFFFFF#000000##FFFFFF
##2D3A031.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)
#3C3508
Tritanopia (blue-blind)
#303630
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2d3a03;
/* rgb */ color: rgb(45, 58, 3);
/* oklch */ color: oklch(32.5% 0.077 122.8);
Tailwind
colors: {
  custom: {
    50: '#687049',
    500: '#2d3a03',
    950: '#000000',
  },
}
SCSS
$custom: #2d3a03;
$custom-light: #687049;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3a03",
  "rgb": {
    "r": 45,
    "g": 58,
    "b": 3
  },
  "hsl": {
    "h": 74.182,
    "s": 90.164,
    "l": 11.961
  },
  "oklch": {
    "l": 0.32514,
    "c": 0.07676,
    "h": 122.8
  },
  "luminance": 0.03591
}

Semantic roles & 50–950 ramp

primary
#2D3A03
secondary
#331C7D
accent
#29FF5B
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2D3A03

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

Preview Lab → · Contrast checker → · Palette generator →

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