#2D4B11#2D4B11

#2D4B11 is a dark, moderate yellow-green. Relative luminance 0.056; OKLCH L 37.6% C 0.091 H 133.0°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#2D4B11
RGBrgb(45, 75, 17)
HSLhsl(91, 63%, 18%)
HSVhsv(91, 77%, 29%)
CMYKcmyk(40%, 0%, 77.3%, 70.6%)
CIE-LABlab(28.46, -22.19, 29.56)
CIE-LCHlch(28.46, 36.96, 126.90°)
OKLaboklab(37.58% -0.0623 0.0669)
OKLCHoklch(37.58% 0.091 133)
XYZxyz(3.6994, 5.6304, 1.4221)
Luminance0.0563 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4B11 #2F114B
analogous
#4A4B11 #2D4B11 #114B12
triadic
#2D4B11 #112D4B #4B112D
tetradic
#2D4B11 #114A4B #2F114B #4B1211
square
#2D4B11 #114A4B #2F114B #4B1211
split-complementary
#2D4B11 #12114B #4B114A
monochromatic
#0F1906 #0F1906 #2D4B11 #4B7D1C #69AF28

Accessibility & contrast

On white

9.88
#2D4B11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2D4B11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4B11
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4B11#FFFFFF#000000##FFFFFF
##2D4B111.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E4508
Deuteranopia (green-blind)
#4A4216
Tritanopia (blue-blind)
#2D483F
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2d4b11;
/* rgb */ color: rgb(45, 75, 17);
/* oklch */ color: oklch(37.6% 0.091 133.0);
Tailwind
colors: {
  custom: {
    50: '#697d53',
    500: '#2d4b11',
    950: '#000000',
  },
}
SCSS
$custom: #2d4b11;
$custom-light: #697d53;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4b11",
  "rgb": {
    "r": 45,
    "g": 75,
    "b": 17
  },
  "hsl": {
    "h": 91.034,
    "s": 63.043,
    "l": 18.039
  },
  "oklch": {
    "l": 0.3758,
    "c": 0.09142,
    "h": 133
  },
  "luminance": 0.05631
}

Semantic roles & 50–950 ramp

primary
#2D4B11
secondary
#5D3384
accent
#42E697
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2D4B11

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

Preview Lab → · Contrast checker → · Palette generator →

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