#2D4C0D#2D4C0D

#2D4C0D is a dark, moderate yellow-green. Relative luminance 0.058; OKLCH L 37.8% C 0.096 H 132.6°. Best body text is #FFFFFF at 9.76:1 contrast (WCAG AA passes).

Color values

HEX#2D4C0D
RGBrgb(45, 76, 13)
HSLhsl(90, 71%, 17%)
HSVhsv(90, 83%, 30%)
CMYKcmyk(40.8%, 0%, 82.9%, 70.2%)
CIE-LABlab(28.79, -23.00, 31.57)
CIE-LCHlch(28.79, 39.06, 126.07°)
OKLaboklab(37.84% -0.0648 0.0704)
OKLCHoklch(37.84% 0.096 132.6)
XYZxyz(3.7392, 5.7557, 1.2946)
Luminance0.0576 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4C0D #2C0D4C
analogous
#4C4C0D #2D4C0D #0D4C0D
triadic
#2D4C0D #0D2D4C #4C0D2D
tetradic
#2D4C0D #0D4C4C #2C0D4C #4C0D0D
square
#2D4C0D #0D4C4C #2C0D4C #4C0D0D
split-complementary
#2D4C0D #0D0D4C #4C0D4C
monochromatic
#0F1A04 #0F1A04 #2D4C0D #4C8016 #6BB51F

Accessibility & contrast

On white

9.76
#2D4C0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2D4C0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4C0D
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4C0D#FFFFFF#000000##FFFFFF
##2D4C0D1.009.762.159.76
#FFFFFF9.761.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504502
Deuteranopia (green-blind)
#4B4313
Tritanopia (blue-blind)
#2D4940
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2d4c0d;
/* rgb */ color: rgb(45, 76, 13);
/* oklch */ color: oklch(37.8% 0.096 132.6);
Tailwind
colors: {
  custom: {
    50: '#697e51',
    500: '#2d4c0d',
    950: '#000000',
  },
}
SCSS
$custom: #2d4c0d;
$custom-light: #697e51;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4c0d",
  "rgb": {
    "r": 45,
    "g": 76,
    "b": 13
  },
  "hsl": {
    "h": 89.524,
    "s": 70.787,
    "l": 17.451
  },
  "oklch": {
    "l": 0.37838,
    "c": 0.09574,
    "h": 132.6
  },
  "luminance": 0.05756
}

Semantic roles & 50–950 ramp

primary
#2D4C0D
secondary
#5A2E87
accent
#3AEE92
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070A02
muted
#7A7C78

Preview Lab

Preview with #2D4C0D

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

Preview Lab → · Contrast checker → · Palette generator →

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