#2C4F14#2C4F14

#2C4F14 is a dark, moderate yellow-green. Relative luminance 0.062; OKLCH L 38.7% C 0.096 H 135.1°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#2C4F14
RGBrgb(44, 79, 20)
HSLhsl(96, 60%, 19%)
HSVhsv(96, 75%, 31%)
CMYKcmyk(44.3%, 0%, 74.7%, 69%)
CIE-LABlab(29.86, -24.31, 29.62)
CIE-LCHlch(29.86, 38.31, 129.38°)
OKLaboklab(38.71% -0.0677 0.0675)
OKLCHoklch(38.71% 0.096 135.1)
XYZxyz(3.9609, 6.1777, 1.6454)
Luminance0.0618 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4F14 #37144F
analogous
#4A4F14 #2C4F14 #144F1A
triadic
#2C4F14 #142C4F #4F142C
tetradic
#2C4F14 #144A4F #37144F #4F1A14
square
#2C4F14 #144A4F #37144F #4F1A14
split-complementary
#2C4F14 #1A144F #4F144A
monochromatic
#0E1806 #111E08 #2C4F14 #478020 #62B12D

Accessibility & contrast

On white

9.39
#2C4F14 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C4F14
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4F14#FFFFFF#000000##FFFFFF
##2C4F141.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c4f14;
/* rgb */ color: rgb(44, 79, 20);
/* oklch */ color: oklch(38.7% 0.096 135.1);
Tailwind
colors: {
  custom: {
    50: '#698055',
    500: '#2c4f14',
    950: '#000000',
  },
}
SCSS
$custom: #2c4f14;
$custom-light: #698055;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4f14",
  "rgb": {
    "r": 44,
    "g": 79,
    "b": 20
  },
  "hsl": {
    "h": 95.593,
    "s": 59.596,
    "l": 19.412
  },
  "oklch": {
    "l": 0.38714,
    "c": 0.09564,
    "h": 135.1
  },
  "luminance": 0.06178
}

Semantic roles & 50–950 ramp

primary
#2C4F14
secondary
#673887
accent
#45E3A3
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2C4F14

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

Preview Lab → · Contrast checker → · Palette generator →

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