#2C5019#2C5019

#2C5019 is a dark, moderate yellow-green. Relative luminance 0.063; OKLCH L 39.1% C 0.093 H 136.4°. Best body text is #FFFFFF at 9.26:1 contrast (WCAG AA passes).

Color values

HEX#2C5019
RGBrgb(44, 80, 25)
HSLhsl(99, 52%, 21%)
HSVhsv(99, 69%, 31%)
CMYKcmyk(45%, 0%, 68.8%, 68.6%)
CIE-LABlab(30.26, -24.29, 27.63)
CIE-LCHlch(30.26, 36.79, 131.33°)
OKLaboklab(39.06% -0.0673 0.064)
OKLCHoklch(39.06% 0.093 136.4)
XYZxyz(4.0827, 6.3428, 1.9287)
Luminance0.0634 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5019 #3D1950
analogous
#475019 #2C5019 #195021
triadic
#2C5019 #192C50 #50192C
tetradic
#2C5019 #194750 #3D1950 #502119
square
#2C5019 #194750 #3D1950 #502119
split-complementary
#2C5019 #211950 #501947
monochromatic
#0D1707 #12210A #2C5019 #467F28 #5FAD36

Accessibility & contrast

On white

9.26
#2C5019 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.27
#2C5019 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5019
9.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5019#FFFFFF#000000##FFFFFF
##2C50191.009.262.279.26
#FFFFFF9.261.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.261.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534912
Deuteranopia (green-blind)
#4E461D
Tritanopia (blue-blind)
#2B4D44
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2c5019;
/* rgb */ color: rgb(44, 80, 25);
/* oklch */ color: oklch(39.1% 0.093 136.4);
Tailwind
colors: {
  custom: {
    50: '#688158',
    500: '#2c5019',
    950: '#000000',
  },
}
SCSS
$custom: #2c5019;
$custom-light: #688158;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5019",
  "rgb": {
    "r": 44,
    "g": 80,
    "b": 25
  },
  "hsl": {
    "h": 99.273,
    "s": 52.381,
    "l": 20.588
  },
  "oklch": {
    "l": 0.39061,
    "c": 0.09286,
    "h": 136.4
  },
  "luminance": 0.06343
}

Semantic roles & 50–950 ramp

primary
#2C5019
secondary
#6E3E86
accent
#4CDCAA
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2C5019

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

Preview Lab → · Contrast checker → · Palette generator →

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