#2C5015#2C5015

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

Color values

HEX#2C5015
RGBrgb(44, 80, 21)
HSLhsl(97, 58%, 20%)
HSVhsv(97, 74%, 31%)
CMYKcmyk(45%, 0%, 73.7%, 68.6%)
CIE-LABlab(30.22, -24.70, 29.54)
CIE-LCHlch(30.22, 38.50, 129.91°)
OKLaboklab(39.02% -0.0687 0.0675)
OKLCHoklch(39.02% 0.096 135.5)
XYZxyz(4.0426, 6.3267, 1.7175)
Luminance0.0633 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5015 #391550
analogous
#4A5015 #2C5015 #15501B
triadic
#2C5015 #152C50 #50152C
tetradic
#2C5015 #154A50 #391550 #501B15
square
#2C5015 #154A50 #391550 #501B15
split-complementary
#2C5015 #1B1550 #50154A
monochromatic
#0D1806 #112008 #2C5015 #478022 #61B12E

Accessibility & contrast

On white

9.27
#2C5015 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C5015
9.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5015#FFFFFF#000000##FFFFFF
##2C50151.009.272.279.27
#FFFFFF9.271.0021.001.00
#0000002.2721.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

Protanopia (red-blind)
#53490D
Deuteranopia (green-blind)
#4E461A
Tritanopia (blue-blind)
#2B4D44
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2c5015;
/* rgb */ color: rgb(44, 80, 21);
/* oklch */ color: oklch(39.0% 0.096 135.5);
Tailwind
colors: {
  custom: {
    50: '#698156',
    500: '#2c5015',
    950: '#000000',
  },
}
SCSS
$custom: #2c5015;
$custom-light: #698156;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5015",
  "rgb": {
    "r": 44,
    "g": 80,
    "b": 21
  },
  "hsl": {
    "h": 96.61,
    "s": 58.416,
    "l": 19.804
  },
  "oklch": {
    "l": 0.39016,
    "c": 0.09631,
    "h": 135.5
  },
  "luminance": 0.06327
}

Semantic roles & 50–950 ramp

primary
#2C5015
secondary
#693988
accent
#46E2A5
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2C5015

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

Preview Lab → · Contrast checker → · Palette generator →

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