#2D3908#2D3908

#2D3908 is a dark, moderate yellow-green. Relative luminance 0.035; OKLCH L 32.3% C 0.071 H 122.7°. Best body text is #FFFFFF at 12.35:1 contrast (WCAG AA passes).

Color values

HEX#2D3908
RGBrgb(45, 57, 8)
HSLhsl(75, 75%, 13%)
HSVhsv(75, 86%, 22%)
CMYKcmyk(21.1%, 0%, 86%, 77.6%)
CIE-LABlab(21.95, -13.13, 26.84)
CIE-LCHlch(21.95, 29.88, 116.07°)
OKLaboklab(32.27% -0.0385 0.06)
OKLCHoklch(32.27% 0.071 122.7)
XYZxyz(2.5892, 3.5017, 0.7692)
Luminance0.0350 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3908 #140839
analogous
#392C08 #2D3908 #143908
triadic
#2D3908 #082D39 #39082D
tetradic
#2D3908 #08392C #140839 #390814
square
#2D3908 #08392C #140839 #390814
split-complementary
#2D3908 #081439 #2C0839
monochromatic
#151B04 #151B04 #2D3908 #576F10 #82A417

Accessibility & contrast

On white

12.35
#2D3908 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D3908
12.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3908#FFFFFF#000000##FFFFFF
##2D39081.0012.351.7012.35
#FFFFFF12.351.0021.001.00
#0000001.7021.001.0021.00
##FFFFFF12.351.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3502
Deuteranopia (green-blind)
#3B350C
Tritanopia (blue-blind)
#303630
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #2d3908;
/* rgb */ color: rgb(45, 57, 8);
/* oklch */ color: oklch(32.3% 0.071 122.7);
Tailwind
colors: {
  custom: {
    50: '#686f4c',
    500: '#2d3908',
    950: '#000000',
  },
}
SCSS
$custom: #2d3908;
$custom-light: #686f4c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3908",
  "rgb": {
    "r": 45,
    "g": 57,
    "b": 8
  },
  "hsl": {
    "h": 74.694,
    "s": 75.385,
    "l": 12.745
  },
  "oklch": {
    "l": 0.32269,
    "c": 0.07127,
    "h": 122.7
  },
  "luminance": 0.03502
}

Semantic roles & 50–950 ramp

primary
#2D3908
secondary
#392578
accent
#36F264
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2D3908

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

Preview Lab → · Contrast checker → · Palette generator →

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