#2D4A14#2D4A14

#2D4A14 is a dark, moderate yellow-green. Relative luminance 0.055; OKLCH L 37.3% C 0.087 H 133.3°. Best body text is #FFFFFF at 9.99:1 contrast (WCAG AA passes).

Color values

HEX#2D4A14
RGBrgb(45, 74, 20)
HSLhsl(92, 57%, 18%)
HSVhsv(92, 73%, 29%)
CMYKcmyk(39.2%, 0%, 73%, 71%)
CIE-LABlab(28.13, -21.41, 27.81)
CIE-LCHlch(28.13, 35.10, 127.60°)
OKLaboklab(37.32% -0.0599 0.0637)
OKLCHoklch(37.32% 0.087 133.3)
XYZxyz(3.6572, 5.5058, 1.5317)
Luminance0.0551 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4A14 #31144A
analogous
#484A14 #2D4A14 #144A16
triadic
#2D4A14 #142D4A #4A142D
tetradic
#2D4A14 #14484A #31144A #4A1614
square
#2D4A14 #14484A #31144A #4A1614
split-complementary
#2D4A14 #16144A #4A1448
monochromatic
#0F1807 #101A07 #2D4A14 #4A7A21 #68AA2E

Accessibility & contrast

On white

9.99
#2D4A14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.10
#2D4A14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4A14
9.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4A14#FFFFFF#000000##FFFFFF
##2D4A141.009.992.109.99
#FFFFFF9.991.0021.001.00
#0000002.1021.001.0021.00
##FFFFFF9.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4D440D
Deuteranopia (green-blind)
#494218
Tritanopia (blue-blind)
#2D473F
Achromatopsia (no color)
#424242

Design tokens & code

CSS
--color: #2d4a14;
/* rgb */ color: rgb(45, 74, 20);
/* oklch */ color: oklch(37.3% 0.087 133.3);
Tailwind
colors: {
  custom: {
    50: '#697c55',
    500: '#2d4a14',
    950: '#000000',
  },
}
SCSS
$custom: #2d4a14;
$custom-light: #697c55;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4a14",
  "rgb": {
    "r": 45,
    "g": 74,
    "b": 20
  },
  "hsl": {
    "h": 92.222,
    "s": 57.447,
    "l": 18.431
  },
  "oklch": {
    "l": 0.37319,
    "c": 0.08745,
    "h": 133.3
  },
  "luminance": 0.05506
}

Semantic roles & 50–950 ramp

primary
#2D4A14
secondary
#603882
accent
#47E19A
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2D4A14

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

Preview Lab → · Contrast checker → · Palette generator →

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