#2D3F06#2D3F06

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

Color values

HEX#2D3F06
RGBrgb(45, 63, 6)
HSLhsl(79, 83%, 14%)
HSVhsv(79, 90%, 25%)
CMYKcmyk(28.6%, 0%, 90.5%, 75.3%)
CIE-LABlab(24.08, -16.67, 29.85)
CIE-LCHlch(24.08, 34.19, 119.18°)
OKLaboklab(33.99% -0.0483 0.0656)
OKLCHoklch(33.99% 0.082 126.4)
XYZxyz(2.8926, 4.1260, 0.8163)
Luminance0.0413 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D3F06 #18063F
analogous
#3F3406 #2D3F06 #103F06
triadic
#2D3F06 #062D3F #3F062D
tetradic
#2D3F06 #063F34 #18063F #3F0610
square
#2D3F06 #063F34 #18063F #3F0610
split-complementary
#2D3F06 #06103F #34063F
monochromatic
#141C03 #141C03 #2D3F06 #55770B #7DAF11

Accessibility & contrast

On white

11.51
#2D3F06 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D3F06
11.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D3F06#FFFFFF#000000##FFFFFF
##2D3F061.0011.511.8311.51
#FFFFFF11.511.0021.001.00
#0000001.8321.001.0021.00
##FFFFFF11.511.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d3f06;
/* rgb */ color: rgb(45, 63, 6);
/* oklch */ color: oklch(34.0% 0.082 126.4);
Tailwind
colors: {
  custom: {
    50: '#68744b',
    500: '#2d3f06',
    950: '#000000',
  },
}
SCSS
$custom: #2d3f06;
$custom-light: #68744b;
$custom-dark: #000000;
JSON
{
  "hex": "#2d3f06",
  "rgb": {
    "r": 45,
    "g": 63,
    "b": 6
  },
  "hsl": {
    "h": 78.947,
    "s": 82.609,
    "l": 13.529
  },
  "oklch": {
    "l": 0.33992,
    "c": 0.08151,
    "h": 126.4
  },
  "luminance": 0.04126
}

Semantic roles & 50–950 ramp

primary
#2D3F06
secondary
#3F227F
accent
#2FF96F
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2D3F06

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

Preview Lab → · Contrast checker → · Palette generator →

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