#2D3D08#2D3D08

#2D3D08 is a dark, moderate yellow-green. Relative luminance 0.039; OKLCH L 33.4% C 0.077 H 125.4°. Best body text is #FFFFFF at 11.78:1 contrast (WCAG AA passes).

Color values

HEX#2D3D08
RGBrgb(45, 61, 8)
HSLhsl(78, 77%, 14%)
HSVhsv(78, 87%, 24%)
CMYKcmyk(26.2%, 0%, 86.9%, 76.1%)
CIE-LABlab(23.38, -15.42, 28.33)
CIE-LCHlch(23.38, 32.26, 118.56°)
OKLaboklab(33.43% -0.0447 0.0629)
OKLCHoklch(33.43% 0.077 125.4)
XYZxyz(2.7948, 3.9129, 0.8377)
Luminance0.0391 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3D08 #18083D
analogous
#3D3208 #2D3D08 #123D08
triadic
#2D3D08 #082D3D #3D082D
tetradic
#2D3D08 #083D32 #18083D #3D0812
square
#2D3D08 #083D32 #18083D #3D0812
split-complementary
#2D3D08 #08123D #32083D
monochromatic
#141B04 #141B04 #2D3D08 #55730F #7DA916

Accessibility & contrast

On white

11.78
#2D3D08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.78
#2D3D08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3D08
11.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3D08#FFFFFF#000000##FFFFFF
##2D3D081.0011.781.7811.78
#FFFFFF11.781.0021.001.00
#0000001.7821.001.0021.00
##FFFFFF11.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413801
Deuteranopia (green-blind)
#3F370D
Tritanopia (blue-blind)
#2F3A33
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2d3d08;
/* rgb */ color: rgb(45, 61, 8);
/* oklch */ color: oklch(33.4% 0.077 125.4);
Tailwind
colors: {
  custom: {
    50: '#68724c',
    500: '#2d3d08',
    950: '#000000',
  },
}
SCSS
$custom: #2d3d08;
$custom-light: #68724c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3d08",
  "rgb": {
    "r": 45,
    "g": 61,
    "b": 8
  },
  "hsl": {
    "h": 78.113,
    "s": 76.812,
    "l": 13.529
  },
  "oklch": {
    "l": 0.33426,
    "c": 0.07714,
    "h": 125.4
  },
  "luminance": 0.03913
}

Semantic roles & 50–950 ramp

primary
#2D3D08
secondary
#3F257C
accent
#34F36E
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2D3D08

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

Preview Lab → · Contrast checker → · Palette generator →

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