#2D4F11#2D4F11

#2D4F11 is a dark, moderate yellow-green. Relative luminance 0.062; OKLCH L 38.7% C 0.097 H 134.1°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#2D4F11
RGBrgb(45, 79, 17)
HSLhsl(93, 65%, 19%)
HSVhsv(93, 78%, 31%)
CMYKcmyk(43%, 0%, 78.5%, 69%)
CIE-LABlab(29.89, -24.17, 31.01)
CIE-LCHlch(29.89, 39.32, 127.94°)
OKLaboklab(38.75% -0.0677 0.0699)
OKLCHoklch(38.75% 0.097 134.1)
XYZxyz(3.9793, 6.1901, 1.5153)
Luminance0.0619 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4F11 #33114F
analogous
#4C4F11 #2D4F11 #114F14
triadic
#2D4F11 #112D4F #4F112D
tetradic
#2D4F11 #114C4F #33114F #4F1411
square
#2D4F11 #114C4F #33114F #4F1411
split-complementary
#2D4F11 #14114F #4F114C
monochromatic
#0E1905 #101D06 #2D4F11 #4A811C #66B427

Accessibility & contrast

On white

9.38
#2D4F11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2D4F11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4F11
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4F11#FFFFFF#000000##FFFFFF
##2D4F111.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524807
Deuteranopia (green-blind)
#4E4517
Tritanopia (blue-blind)
#2D4C43
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2d4f11;
/* rgb */ color: rgb(45, 79, 17);
/* oklch */ color: oklch(38.7% 0.097 134.1);
Tailwind
colors: {
  custom: {
    50: '#698054',
    500: '#2d4f11',
    950: '#000000',
  },
}
SCSS
$custom: #2d4f11;
$custom-light: #698054;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4f11",
  "rgb": {
    "r": 45,
    "g": 79,
    "b": 17
  },
  "hsl": {
    "h": 92.903,
    "s": 64.583,
    "l": 18.824
  },
  "oklch": {
    "l": 0.38746,
    "c": 0.09733,
    "h": 134.1
  },
  "luminance": 0.0619
}

Semantic roles & 50–950 ramp

primary
#2D4F11
secondary
#623388
accent
#40E89C
background
#F6F7F4
surface
#EBEEE8
border
#C6C9C4
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #2D4F11

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

Preview Lab → · Contrast checker → · Palette generator →

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