#2D3803#2D3803

#2D3803 is a dark, moderate yellow-green. Relative luminance 0.034; OKLCH L 31.9% C 0.074 H 121.4°. Best body text is #FFFFFF at 12.51:1 contrast (WCAG AA passes).

Color values

HEX#2D3803
RGBrgb(45, 56, 3)
HSLhsl(72, 90%, 12%)
HSVhsv(72, 95%, 22%)
CMYKcmyk(19.6%, 0%, 94.6%, 78%)
CIE-LABlab(21.55, -12.92, 28.46)
CIE-LCHlch(21.55, 31.25, 114.41°)
OKLaboklab(31.94% -0.0385 0.0632)
OKLCHoklch(31.94% 0.074 121.4)
XYZxyz(2.5128, 3.3928, 0.6086)
Luminance0.0339 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3803 #0E0338
analogous
#382903 #2D3803 #133803
triadic
#2D3803 #032D38 #38032D
tetradic
#2D3803 #033829 #0E0338 #380313
square
#2D3803 #033829 #0E0338 #380313
split-complementary
#2D3803 #031338 #290338
monochromatic
#171D02 #171D02 #2D3803 #5C7206 #8AAC09

Accessibility & contrast

On white

12.51
#2D3803 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.68
#2D3803 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3803
12.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3803#FFFFFF#000000##FFFFFF
##2D38031.0012.511.6812.51
#FFFFFF12.511.0021.001.00
#0000001.6821.001.0021.00
##FFFFFF12.511.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3400
Deuteranopia (green-blind)
#3B3407
Tritanopia (blue-blind)
#30342E
Achromatopsia (no color)
#343434

Design tokens & code

CSS
--color: #2d3803;
/* rgb */ color: rgb(45, 56, 3);
/* oklch */ color: oklch(31.9% 0.074 121.4);
Tailwind
colors: {
  custom: {
    50: '#686e49',
    500: '#2d3803',
    950: '#000000',
  },
}
SCSS
$custom: #2d3803;
$custom-light: #686e49;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3803",
  "rgb": {
    "r": 45,
    "g": 56,
    "b": 3
  },
  "hsl": {
    "h": 72.453,
    "s": 89.831,
    "l": 11.569
  },
  "oklch": {
    "l": 0.31935,
    "c": 0.07399,
    "h": 121.4
  },
  "luminance": 0.03393
}

Semantic roles & 50–950 ramp

primary
#2D3803
secondary
#301C7B
accent
#29FF55
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2D3803

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

Preview Lab → · Contrast checker → · Palette generator →

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