#2D4B13#2D4B13

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

Color values

HEX#2D4B13
RGBrgb(45, 75, 19)
HSLhsl(92, 60%, 18%)
HSVhsv(92, 75%, 29%)
CMYKcmyk(40%, 0%, 74.7%, 70.6%)
CIE-LABlab(28.48, -22.02, 28.65)
CIE-LCHlch(28.48, 36.13, 127.54°)
OKLaboklab(37.6% -0.0617 0.0653)
OKLCHoklch(37.6% 0.09 133.4)
XYZxyz(3.7157, 5.6369, 1.5082)
Luminance0.0564 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4B13 #31134B
analogous
#494B13 #2D4B13 #134B15
triadic
#2D4B13 #132D4B #4B132D
tetradic
#2D4B13 #13494B #31134B #4B1513
square
#2D4B13 #13494B #31134B #4B1513
split-complementary
#2D4B13 #15134B #4B1349
monochromatic
#0F1806 #101A07 #2D4B13 #4A7C1F #68AD2C

Accessibility & contrast

On white

9.87
#2D4B13 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2D4B13
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4B13#FFFFFF#000000##FFFFFF
##2D4B131.009.872.139.87
#FFFFFF9.871.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.871.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2d4b13;
/* rgb */ color: rgb(45, 75, 19);
/* oklch */ color: oklch(37.6% 0.090 133.4);
Tailwind
colors: {
  custom: {
    50: '#697d54',
    500: '#2d4b13',
    950: '#000000',
  },
}
SCSS
$custom: #2d4b13;
$custom-light: #697d54;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4b13",
  "rgb": {
    "r": 45,
    "g": 75,
    "b": 19
  },
  "hsl": {
    "h": 92.143,
    "s": 59.574,
    "l": 18.431
  },
  "oklch": {
    "l": 0.376,
    "c": 0.08982,
    "h": 133.4
  },
  "luminance": 0.05637
}

Semantic roles & 50–950 ramp

primary
#2D4B13
secondary
#603684
accent
#45E39A
background
#F6F7F4
surface
#EBEEE8
border
#C6C9C4
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2D4B13

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

Preview Lab → · Contrast checker → · Palette generator →

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