#2D4F14#2D4F14

#2D4F14 is a dark, moderate yellow-green. Relative luminance 0.062; OKLCH L 38.8% C 0.095 H 134.6°. Best body text is #FFFFFF at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#2D4F14
RGBrgb(45, 79, 20)
HSLhsl(95, 60%, 19%)
HSVhsv(95, 75%, 31%)
CMYKcmyk(43%, 0%, 74.7%, 69%)
CIE-LABlab(29.91, -23.92, 29.69)
CIE-LCHlch(29.91, 38.13, 128.85°)
OKLaboklab(38.78% -0.0667 0.0677)
OKLCHoklch(38.78% 0.095 134.6)
XYZxyz(4.0044, 6.2002, 1.6474)
Luminance0.0620 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2D4F14 #36144F
analogous
#4B4F14 #2D4F14 #144F19
triadic
#2D4F14 #142D4F #4F142D
tetradic
#2D4F14 #144B4F #36144F #4F1914
square
#2D4F14 #144B4F #36144F #4F1914
split-complementary
#2D4F14 #19144F #4F144B
monochromatic
#0E1806 #111E08 #2D4F14 #498020 #65B12D

Accessibility & contrast

On white

9.38
#2D4F14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2D4F14 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2D4F14
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2D4F14#FFFFFF#000000##FFFFFF
##2D4F141.009.382.249.38
#FFFFFF9.381.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52480B
Deuteranopia (green-blind)
#4E4519
Tritanopia (blue-blind)
#2C4C43
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2d4f14;
/* rgb */ color: rgb(45, 79, 20);
/* oklch */ color: oklch(38.8% 0.095 134.6);
Tailwind
colors: {
  custom: {
    50: '#698055',
    500: '#2d4f14',
    950: '#000000',
  },
}
SCSS
$custom: #2d4f14;
$custom-light: #698055;
$custom-dark: #000000;
JSON
{
  "hex": "#2d4f14",
  "rgb": {
    "r": 45,
    "g": 79,
    "b": 20
  },
  "hsl": {
    "h": 94.576,
    "s": 59.596,
    "l": 19.412
  },
  "oklch": {
    "l": 0.38775,
    "c": 0.09503,
    "h": 134.6
  },
  "luminance": 0.062
}

Semantic roles & 50–950 ramp

primary
#2D4F14
secondary
#653887
accent
#45E3A0
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2D4F14

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

Preview Lab → · Contrast checker → · Palette generator →

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