#2D4B14#2D4B14

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

Color values

HEX#2D4B14
RGBrgb(45, 75, 20)
HSLhsl(93, 58%, 19%)
HSVhsv(93, 73%, 29%)
CMYKcmyk(40%, 0%, 73.3%, 70.6%)
CIE-LABlab(28.49, -21.92, 28.19)
CIE-LCHlch(28.49, 35.71, 127.87°)
OKLaboklab(37.61% -0.0613 0.0645)
OKLCHoklch(37.61% 0.089 133.6)
XYZxyz(3.7245, 5.6404, 1.5541)
Luminance0.0564 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4B14 #32144B
analogous
#484B14 #2D4B14 #144B16
triadic
#2D4B14 #142D4B #4B142D
tetradic
#2D4B14 #14484B #32144B #4B1614
square
#2D4B14 #14484B #32144B #4B1614
split-complementary
#2D4B14 #16144B #4B1448
monochromatic
#0E1806 #101B07 #2D4B14 #4A7B21 #67AC2E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2D4B14#FFFFFF#000000##FFFFFF
##2D4B141.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)
#4E450D
Deuteranopia (green-blind)
#4A4219
Tritanopia (blue-blind)
#2D4840
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2d4b14;
/* rgb */ color: rgb(45, 75, 20);
/* oklch */ color: oklch(37.6% 0.089 133.6);
Tailwind
colors: {
  custom: {
    50: '#697d55',
    500: '#2d4b14',
    950: '#000000',
  },
}
SCSS
$custom: #2d4b14;
$custom-light: #697d55;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4b14",
  "rgb": {
    "r": 45,
    "g": 75,
    "b": 20
  },
  "hsl": {
    "h": 92.727,
    "s": 57.895,
    "l": 18.627
  },
  "oklch": {
    "l": 0.3761,
    "c": 0.08898,
    "h": 133.6
  },
  "luminance": 0.05641
}

Semantic roles & 50–950 ramp

primary
#2D4B14
secondary
#613883
accent
#47E19B
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2D4B14

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

Preview Lab → · Contrast checker → · Palette generator →

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