#2D4E14#2D4E14

#2D4E14 is a dark, moderate yellow-green. Relative luminance 0.061; OKLCH L 38.5% C 0.094 H 134.4°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).

Color values

HEX#2D4E14
RGBrgb(45, 78, 20)
HSLhsl(94, 59%, 19%)
HSVhsv(94, 74%, 31%)
CMYKcmyk(42.3%, 0%, 74.4%, 69.4%)
CIE-LABlab(29.56, -23.42, 29.32)
CIE-LCHlch(29.56, 37.53, 128.62°)
OKLaboklab(38.48% -0.0654 0.0669)
OKLCHoklch(38.48% 0.094 134.4)
XYZxyz(3.9328, 6.0570, 1.6236)
Luminance0.0606 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4E14 #35144E
analogous
#4A4E14 #2D4E14 #144E18
triadic
#2D4E14 #142D4E #4E142D
tetradic
#2D4E14 #144A4E #35144E #4E1814
square
#2D4E14 #144A4E #35144E #4E1814
split-complementary
#2D4E14 #18144E #4E144A
monochromatic
#0E1806 #111D08 #2D4E14 #497F20 #65AF2D

Accessibility & contrast

On white

9.50
#2D4E14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.21
#2D4E14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4E14
9.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4E14#FFFFFF#000000##FFFFFF
##2D4E141.009.502.219.50
#FFFFFF9.501.0021.001.00
#0000002.2121.001.0021.00
##FFFFFF9.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#51470C
Deuteranopia (green-blind)
#4D4519
Tritanopia (blue-blind)
#2D4B42
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2d4e14;
/* rgb */ color: rgb(45, 78, 20);
/* oklch */ color: oklch(38.5% 0.094 134.4);
Tailwind
colors: {
  custom: {
    50: '#698055',
    500: '#2d4e14',
    950: '#000000',
  },
}
SCSS
$custom: #2d4e14;
$custom-light: #698055;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4e14",
  "rgb": {
    "r": 45,
    "g": 78,
    "b": 20
  },
  "hsl": {
    "h": 94.138,
    "s": 59.184,
    "l": 19.216
  },
  "oklch": {
    "l": 0.38483,
    "c": 0.09353,
    "h": 134.4
  },
  "luminance": 0.06057
}

Semantic roles & 50–950 ramp

primary
#2D4E14
secondary
#643886
accent
#45E29F
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2D4E14

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

Preview Lab → · Contrast checker → · Palette generator →

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