#2D3E08#2D3E08

#2D3E08 is a dark, moderate yellow-green. Relative luminance 0.040; OKLCH L 33.7% C 0.079 H 126.0°. Best body text is #FFFFFF at 11.64:1 contrast (WCAG AA passes).

Color values

HEX#2D3E08
RGBrgb(45, 62, 8)
HSLhsl(79, 77%, 14%)
HSVhsv(79, 87%, 24%)
CMYKcmyk(27.4%, 0%, 87.1%, 75.7%)
CIE-LABlab(23.74, -15.98, 28.69)
CIE-LCHlch(23.74, 32.84, 119.11°)
OKLaboklab(33.72% -0.0462 0.0636)
OKLCHoklch(33.72% 0.079 126)
XYZxyz(2.8487, 4.0206, 0.8557)
Luminance0.0402 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3E08 #19083E
analogous
#3E3408 #2D3E08 #123E08
triadic
#2D3E08 #082D3E #3E082D
tetradic
#2D3E08 #083E34 #19083E #3E0812
square
#2D3E08 #083E34 #19083E #3E0812
split-complementary
#2D3E08 #08123E #34083E
monochromatic
#141B03 #141B03 #2D3E08 #54740F #7CAA16

Accessibility & contrast

On white

11.64
#2D3E08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.80
#2D3E08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3E08
11.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3E08#FFFFFF#000000##FFFFFF
##2D3E081.0011.641.8011.64
#FFFFFF11.641.0021.001.00
#0000001.8021.001.0021.00
##FFFFFF11.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#423900
Deuteranopia (green-blind)
#40380D
Tritanopia (blue-blind)
#2F3B34
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2d3e08;
/* rgb */ color: rgb(45, 62, 8);
/* oklch */ color: oklch(33.7% 0.079 126.0);
Tailwind
colors: {
  custom: {
    50: '#68734c',
    500: '#2d3e08',
    950: '#000000',
  },
}
SCSS
$custom: #2d3e08;
$custom-light: #68734c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3e08",
  "rgb": {
    "r": 45,
    "g": 62,
    "b": 8
  },
  "hsl": {
    "h": 78.889,
    "s": 77.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.33717,
    "c": 0.07861,
    "h": 126
  },
  "luminance": 0.04021
}

Semantic roles & 50–950 ramp

primary
#2D3E08
secondary
#41257D
accent
#34F470
background
#F6F6F4
surface
#EBECE7
border
#C6C7C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2D3E08

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

Preview Lab → · Contrast checker → · Palette generator →

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