#2D3903#2D3903

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

Color values

HEX#2D3903
RGBrgb(45, 57, 3)
HSLhsl(73, 90%, 12%)
HSVhsv(73, 95%, 22%)
CMYKcmyk(21.1%, 0%, 94.7%, 77.6%)
CIE-LABlab(21.91, -13.50, 28.84)
CIE-LCHlch(21.91, 31.84, 115.08°)
OKLaboklab(32.22% -0.0401 0.0638)
OKLCHoklch(32.22% 0.075 122.1)
XYZxyz(2.5618, 3.4907, 0.6249)
Luminance0.0349 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3903 #0F0339
analogous
#392A03 #2D3903 #123903
triadic
#2D3903 #032D39 #39032D
tetradic
#2D3903 #03392A #0F0339 #390312
square
#2D3903 #03392A #0F0339 #390312
split-complementary
#2D3903 #031239 #2A0339
monochromatic
#171D02 #171D02 #2D3903 #5B7306 #89AD09

Accessibility & contrast

On white

12.37
#2D3903 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.70
#2D3903 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3903
12.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3903#FFFFFF#000000##FFFFFF
##2D39031.0012.371.7012.37
#FFFFFF12.371.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3500
Deuteranopia (green-blind)
#3C3408
Tritanopia (blue-blind)
#30352F
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2d3903;
/* rgb */ color: rgb(45, 57, 3);
/* oklch */ color: oklch(32.2% 0.075 122.1);
Tailwind
colors: {
  custom: {
    50: '#686f49',
    500: '#2d3903',
    950: '#000000',
  },
}
SCSS
$custom: #2d3903;
$custom-light: #686f49;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3903",
  "rgb": {
    "r": 45,
    "g": 57,
    "b": 3
  },
  "hsl": {
    "h": 73.333,
    "s": 90,
    "l": 11.765
  },
  "oklch": {
    "l": 0.32224,
    "c": 0.07537,
    "h": 122.1
  },
  "luminance": 0.03491
}

Semantic roles & 50–950 ramp

primary
#2D3903
secondary
#311C7C
accent
#29FF58
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2D3903

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

Preview Lab → · Contrast checker → · Palette generator →

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