#2C5011#2C5011

#2C5011 is a dark, moderate yellow-green. Relative luminance 0.063; OKLCH L 39.0% C 0.099 H 134.8°. Best body text is #FFFFFF at 9.28:1 contrast (WCAG AA passes).

Color values

HEX#2C5011
RGBrgb(44, 80, 17)
HSLhsl(94, 65%, 19%)
HSVhsv(94, 79%, 31%)
CMYKcmyk(45%, 0%, 78.8%, 68.6%)
CIE-LABlab(30.19, -25.05, 31.30)
CIE-LCHlch(30.19, 40.09, 128.67°)
OKLaboklab(38.98% -0.07 0.0706)
OKLCHoklch(38.98% 0.099 134.8)
XYZxyz(4.0085, 6.3131, 1.5375)
Luminance0.0631 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5011 #351150
analogous
#4C5011 #2C5011 #115016
triadic
#2C5011 #112C50 #50112C
tetradic
#2C5011 #114C50 #351150 #501611
square
#2C5011 #114C50 #351150 #501611
split-complementary
#2C5011 #161150 #50114C
monochromatic
#0E1905 #101E06 #2C5011 #48821C #64B526

Accessibility & contrast

On white

9.28
#2C5011 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#2C5011 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5011
9.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5011#FFFFFF#000000##FFFFFF
##2C50111.009.282.269.28
#FFFFFF9.281.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.281.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c5011;
/* rgb */ color: rgb(44, 80, 17);
/* oklch */ color: oklch(39.0% 0.099 134.8);
Tailwind
colors: {
  custom: {
    50: '#698154',
    500: '#2c5011',
    950: '#000000',
  },
}
SCSS
$custom: #2c5011;
$custom-light: #698154;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5011",
  "rgb": {
    "r": 44,
    "g": 80,
    "b": 17
  },
  "hsl": {
    "h": 94.286,
    "s": 64.948,
    "l": 19.02
  },
  "oklch": {
    "l": 0.38978,
    "c": 0.09938,
    "h": 134.8
  },
  "luminance": 0.06313
}

Semantic roles & 50–950 ramp

primary
#2C5011
secondary
#653389
accent
#40E8A0
background
#F6F7F4
surface
#EBEEE8
border
#C6C9C4
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2C5011

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

Preview Lab → · Contrast checker → · Palette generator →

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