#2D3F08#2D3F08

#2D3F08 is a dark, moderate yellow-green. Relative luminance 0.041; OKLCH L 34.0% C 0.080 H 126.6°. Best body text is #FFFFFF at 11.50:1 contrast (WCAG AA passes).

Color values

HEX#2D3F08
RGBrgb(45, 63, 8)
HSLhsl(80, 77%, 14%)
HSVhsv(80, 87%, 25%)
CMYKcmyk(28.6%, 0%, 87.3%, 75.3%)
CIE-LABlab(24.10, -16.53, 29.05)
CIE-LCHlch(24.10, 33.42, 119.65°)
OKLaboklab(34.01% -0.0478 0.0643)
OKLCHoklch(34.01% 0.08 126.6)
XYZxyz(2.9035, 4.1304, 0.8740)
Luminance0.0413 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3F08 #1A083F
analogous
#3F3608 #2D3F08 #123F08
triadic
#2D3F08 #082D3F #3F082D
tetradic
#2D3F08 #083F36 #1A083F #3F0812
square
#2D3F08 #083F36 #1A083F #3F0812
split-complementary
#2D3F08 #08123F #36083F
monochromatic
#131B03 #131B03 #2D3F08 #54750F #7BAC16

Accessibility & contrast

On white

11.50
#2D3F08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.83
#2D3F08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D3F08
11.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3F08#FFFFFF#000000##FFFFFF
##2D3F081.0011.501.8311.50
#FFFFFF11.501.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433A00
Deuteranopia (green-blind)
#40390D
Tritanopia (blue-blind)
#2F3C35
Achromatopsia (no color)
#393939

Design tokens & code

CSS
--color: #2d3f08;
/* rgb */ color: rgb(45, 63, 8);
/* oklch */ color: oklch(34.0% 0.080 126.6);
Tailwind
colors: {
  custom: {
    50: '#68744c',
    500: '#2d3f08',
    950: '#000000',
  },
}
SCSS
$custom: #2d3f08;
$custom-light: #68744c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3f08",
  "rgb": {
    "r": 45,
    "g": 63,
    "b": 8
  },
  "hsl": {
    "h": 79.636,
    "s": 77.465,
    "l": 13.922
  },
  "oklch": {
    "l": 0.34008,
    "c": 0.08007,
    "h": 126.6
  },
  "luminance": 0.0413
}

Semantic roles & 50–950 ramp

primary
#2D3F08
secondary
#42257E
accent
#34F473
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2D3F08

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

Preview Lab → · Contrast checker → · Palette generator →

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