#2D4C0B#2D4C0B

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

Color values

HEX#2D4C0B
RGBrgb(45, 76, 11)
HSLhsl(89, 75%, 17%)
HSVhsv(89, 86%, 30%)
CMYKcmyk(40.8%, 0%, 85.5%, 70.2%)
CIE-LABlab(28.77, -23.13, 32.32)
CIE-LCHlch(28.77, 39.74, 125.59°)
OKLaboklab(37.82% -0.0654 0.0716)
OKLCHoklch(37.82% 0.097 132.4)
XYZxyz(3.7270, 5.7508, 1.2302)
Luminance0.0575 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4C0B #2A0B4C
analogous
#4C4B0B #2D4C0B #0D4C0B
triadic
#2D4C0B #0B2D4C #4C0B2D
tetradic
#2D4C0B #0B4C4B #2A0B4C #4C0B0D
square
#2D4C0B #0B4C4B #2A0B4C #4C0B0D
split-complementary
#2D4C0B #0B0D4C #4B0B4C
monochromatic
#101B04 #101B04 #2D4C0B #4D8113 #6CB71A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D4C0B#FFFFFF#000000##FFFFFF
##2D4C0B1.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)
#4B4312
Tritanopia (blue-blind)
#2E4840
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2d4c0b;
/* rgb */ color: rgb(45, 76, 11);
/* oklch */ color: oklch(37.8% 0.097 132.4);
Tailwind
colors: {
  custom: {
    50: '#697e50',
    500: '#2d4c0b',
    950: '#000000',
  },
}
SCSS
$custom: #2d4c0b;
$custom-light: #697e50;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4c0b",
  "rgb": {
    "r": 45,
    "g": 76,
    "b": 11
  },
  "hsl": {
    "h": 88.615,
    "s": 74.713,
    "l": 17.059
  },
  "oklch": {
    "l": 0.37824,
    "c": 0.09698,
    "h": 132.4
  },
  "luminance": 0.05751
}

Semantic roles & 50–950 ramp

primary
#2D4C0B
secondary
#572B88
accent
#36F190
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070A02
muted
#7A7C78

Preview Lab

Preview with #2D4C0B

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

Preview Lab → · Contrast checker → · Palette generator →

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