#2D4B15#2D4B15

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

Color values

HEX#2D4B15
RGBrgb(45, 75, 21)
HSLhsl(93, 56%, 19%)
HSVhsv(93, 72%, 29%)
CMYKcmyk(40%, 0%, 72%, 70.6%)
CIE-LABlab(28.50, -21.83, 27.71)
CIE-LCHlch(28.50, 35.27, 128.23°)
OKLaboklab(37.62% -0.061 0.0636)
OKLCHoklch(37.62% 0.088 133.8)
XYZxyz(3.7336, 5.6440, 1.6020)
Luminance0.0564 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4B15 #33154B
analogous
#484B15 #2D4B15 #154B18
triadic
#2D4B15 #152D4B #4B152D
tetradic
#2D4B15 #15484B #33154B #4B1815
square
#2D4B15 #15484B #33154B #4B1815
split-complementary
#2D4B15 #18154B #4B1548
monochromatic
#0E1807 #101B08 #2D4B15 #4A7B22 #66AB30

Accessibility & contrast

On white

9.86
#2D4B15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D4B15
9.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4B15#FFFFFF#000000##FFFFFF
##2D4B151.009.862.139.86
#FFFFFF9.861.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E450E
Deuteranopia (green-blind)
#4A4219
Tritanopia (blue-blind)
#2D4840
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2d4b15;
/* rgb */ color: rgb(45, 75, 21);
/* oklch */ color: oklch(37.6% 0.088 133.8);
Tailwind
colors: {
  custom: {
    50: '#697d55',
    500: '#2d4b15',
    950: '#000000',
  },
}
SCSS
$custom: #2d4b15;
$custom-light: #697d55;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4b15",
  "rgb": {
    "r": 45,
    "g": 75,
    "b": 21
  },
  "hsl": {
    "h": 93.333,
    "s": 56.25,
    "l": 18.824
  },
  "oklch": {
    "l": 0.37621,
    "c": 0.08812,
    "h": 133.8
  },
  "luminance": 0.05644
}

Semantic roles & 50–950 ramp

primary
#2D4B15
secondary
#623983
accent
#48E09C
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2D4B15

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

Preview Lab → · Contrast checker → · Palette generator →

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