#2D3C08#2D3C08

#2D3C08 is a dark, moderate yellow-green. Relative luminance 0.038; OKLCH L 33.1% C 0.076 H 124.8°. Best body text is #FFFFFF at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#2D3C08
RGBrgb(45, 60, 8)
HSLhsl(77, 76%, 13%)
HSVhsv(77, 87%, 24%)
CMYKcmyk(25%, 0%, 86.7%, 76.5%)
CIE-LABlab(23.02, -14.86, 27.96)
CIE-LCHlch(23.02, 31.67, 117.98°)
OKLaboklab(33.14% -0.0432 0.0621)
OKLCHoklch(33.14% 0.076 124.8)
XYZxyz(2.7419, 3.8071, 0.8201)
Luminance0.0381 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3C08 #17083C
analogous
#3C3108 #2D3C08 #133C08
triadic
#2D3C08 #082D3C #3C082D
tetradic
#2D3C08 #083C31 #17083C #3C0813
square
#2D3C08 #083C31 #17083C #3C0813
split-complementary
#2D3C08 #08133C #31083C
monochromatic
#141B04 #141B04 #2D3C08 #55720F #7EA816

Accessibility & contrast

On white

11.92
#2D3C08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#2D3C08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3C08
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3C08#FFFFFF#000000##FFFFFF
##2D3C081.0011.921.7611.92
#FFFFFF11.921.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403701
Deuteranopia (green-blind)
#3E370D
Tritanopia (blue-blind)
#303932
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #2d3c08;
/* rgb */ color: rgb(45, 60, 8);
/* oklch */ color: oklch(33.1% 0.076 124.8);
Tailwind
colors: {
  custom: {
    50: '#68714c',
    500: '#2d3c08',
    950: '#000000',
  },
}
SCSS
$custom: #2d3c08;
$custom-light: #68714c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3c08",
  "rgb": {
    "r": 45,
    "g": 60,
    "b": 8
  },
  "hsl": {
    "h": 77.308,
    "s": 76.471,
    "l": 13.333
  },
  "oklch": {
    "l": 0.33136,
    "c": 0.07568,
    "h": 124.8
  },
  "luminance": 0.03807
}

Semantic roles & 50–950 ramp

primary
#2D3C08
secondary
#3E257B
accent
#35F36C
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060701
muted
#7A7A77

Preview Lab

Preview with #2D3C08

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

Preview Lab → · Contrast checker → · Palette generator →

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