#2D4C0A#2D4C0A

#2D4C0A is a dark, moderate yellow-green. Relative luminance 0.057; OKLCH L 37.8% C 0.098 H 132.3°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#2D4C0A
RGBrgb(45, 76, 10)
HSLhsl(88, 77%, 17%)
HSVhsv(88, 87%, 30%)
CMYKcmyk(40.8%, 0%, 86.8%, 70.2%)
CIE-LABlab(28.77, -23.19, 32.67)
CIE-LCHlch(28.77, 40.06, 125.36°)
OKLaboklab(37.82% -0.0656 0.0722)
OKLCHoklch(37.82% 0.098 132.3)
XYZxyz(3.7214, 5.7485, 1.2006)
Luminance0.0575 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4C0A #290A4C
analogous
#4C4A0A #2D4C0A #0C4C0A
triadic
#2D4C0A #0A2D4C #4C0A2D
tetradic
#2D4C0A #0A4C4A #290A4C #4C0A0C
square
#2D4C0A #0A4C4A #290A4C #4C0A0C
split-complementary
#2D4C0A #0A0C4C #4A0A4C
monochromatic
#101B04 #101B04 #2D4C0A #4D8211 #6DB818

Accessibility & contrast

On white

9.77
#2D4C0A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D4C0A
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4C0A#FFFFFF#000000##FFFFFF
##2D4C0A1.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504500
Deuteranopia (green-blind)
#4B4311
Tritanopia (blue-blind)
#2E4840
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2d4c0a;
/* rgb */ color: rgb(45, 76, 10);
/* oklch */ color: oklch(37.8% 0.098 132.3);
Tailwind
colors: {
  custom: {
    50: '#697e50',
    500: '#2d4c0a',
    950: '#000000',
  },
}
SCSS
$custom: #2d4c0a;
$custom-light: #697e50;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4c0a",
  "rgb": {
    "r": 45,
    "g": 76,
    "b": 10
  },
  "hsl": {
    "h": 88.182,
    "s": 76.744,
    "l": 16.863
  },
  "oklch": {
    "l": 0.37817,
    "c": 0.09755,
    "h": 132.3
  },
  "luminance": 0.05749
}

Semantic roles & 50–950 ramp

primary
#2D4C0A
secondary
#562989
accent
#35F38E
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070A02
muted
#7A7C78

Preview Lab

Preview with #2D4C0A

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

Preview Lab → · Contrast checker → · Palette generator →

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