#2C5013#2C5013

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

Color values

HEX#2C5013
RGBrgb(44, 80, 19)
HSLhsl(95, 62%, 19%)
HSVhsv(95, 76%, 31%)
CMYKcmyk(45%, 0%, 76.3%, 68.6%)
CIE-LABlab(30.20, -24.88, 30.44)
CIE-LCHlch(30.20, 39.31, 129.27°)
OKLaboklab(39% -0.0694 0.0691)
OKLCHoklch(39% 0.098 135.1)
XYZxyz(4.0248, 6.3196, 1.6237)
Luminance0.0632 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5013 #371350
analogous
#4B5013 #2C5013 #135019
triadic
#2C5013 #132C50 #50132C
tetradic
#2C5013 #134B50 #371350 #501913
square
#2C5013 #134B50 #371350 #501913
split-complementary
#2C5013 #191350 #50134B
monochromatic
#0E1906 #111F07 #2C5013 #47811F #62B32A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C5013#FFFFFF#000000##FFFFFF
##2C50131.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)
#53490A
Deuteranopia (green-blind)
#4E4619
Tritanopia (blue-blind)
#2B4D44
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2c5013;
/* rgb */ color: rgb(44, 80, 19);
/* oklch */ color: oklch(39.0% 0.098 135.1);
Tailwind
colors: {
  custom: {
    50: '#698155',
    500: '#2c5013',
    950: '#000000',
  },
}
SCSS
$custom: #2c5013;
$custom-light: #698155;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5013",
  "rgb": {
    "r": 44,
    "g": 80,
    "b": 19
  },
  "hsl": {
    "h": 95.41,
    "s": 61.616,
    "l": 19.412
  },
  "oklch": {
    "l": 0.38997,
    "c": 0.0979,
    "h": 135.1
  },
  "luminance": 0.0632
}

Semantic roles & 50–950 ramp

primary
#2C5013
secondary
#673689
accent
#43E5A2
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2C5013

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

Preview Lab → · Contrast checker → · Palette generator →

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