#2D4207#2D4207

#2D4207 is a dark, moderate yellow-green. Relative luminance 0.045; OKLCH L 34.9% C 0.085 H 128.0°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#2D4207
RGBrgb(45, 66, 7)
HSLhsl(81, 81%, 14%)
HSVhsv(81, 89%, 26%)
CMYKcmyk(31.8%, 0%, 89.4%, 74.1%)
CIE-LABlab(25.17, -18.23, 30.49)
CIE-LCHlch(25.17, 35.52, 120.88°)
OKLaboklab(34.87% -0.0525 0.067)
OKLCHoklch(34.87% 0.085 128)
XYZxyz(3.0688, 4.4696, 0.9020)
Luminance0.0447 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4207 #1C0742
analogous
#423A07 #2D4207 #104207
triadic
#2D4207 #072D42 #42072D
tetradic
#2D4207 #07423A #1C0742 #420710
square
#2D4207 #07423A #1C0742 #420710
split-complementary
#2D4207 #071042 #3A0742
monochromatic
#131C03 #131C03 #2D4207 #53790D #78B113

Accessibility & contrast

On white

11.09
#2D4207 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2D4207 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4207
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4207#FFFFFF#000000##FFFFFF
##2D42071.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463D00
Deuteranopia (green-blind)
#433B0D
Tritanopia (blue-blind)
#2F3F37
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2d4207;
/* rgb */ color: rgb(45, 66, 7);
/* oklch */ color: oklch(34.9% 0.085 128.0);
Tailwind
colors: {
  custom: {
    50: '#69764c',
    500: '#2d4207',
    950: '#000000',
  },
}
SCSS
$custom: #2d4207;
$custom-light: #69764c;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4207",
  "rgb": {
    "r": 45,
    "g": 66,
    "b": 7
  },
  "hsl": {
    "h": 81.356,
    "s": 80.822,
    "l": 14.314
  },
  "oklch": {
    "l": 0.34874,
    "c": 0.08513,
    "h": 128
  },
  "luminance": 0.0447
}

Semantic roles & 50–950 ramp

primary
#2D4207
secondary
#452481
accent
#31F777
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2D4207

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

Preview Lab → · Contrast checker → · Palette generator →

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