#2C5014#2C5014

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

Color values

HEX#2C5014
RGBrgb(44, 80, 20)
HSLhsl(96, 60%, 20%)
HSVhsv(96, 75%, 31%)
CMYKcmyk(45%, 0%, 75%, 68.6%)
CIE-LABlab(30.21, -24.79, 29.99)
CIE-LCHlch(30.21, 38.91, 129.58°)
OKLaboklab(39.01% -0.069 0.0683)
OKLCHoklch(39.01% 0.097 135.3)
XYZxyz(4.0335, 6.3231, 1.6696)
Luminance0.0632 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5014 #381450
analogous
#4A5014 #2C5014 #14501A
triadic
#2C5014 #142C50 #50142C
tetradic
#2C5014 #144A50 #381450 #501A14
square
#2C5014 #144A50 #381450 #501A14
split-complementary
#2C5014 #1A1450 #50144A
monochromatic
#0D1806 #111F08 #2C5014 #478120 #62B22C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C5014#FFFFFF#000000##FFFFFF
##2C50141.009.272.269.27
#FFFFFF9.271.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.271.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c5014;
/* rgb */ color: rgb(44, 80, 20);
/* oklch */ color: oklch(39.0% 0.097 135.3);
Tailwind
colors: {
  custom: {
    50: '#698155',
    500: '#2c5014',
    950: '#000000',
  },
}
SCSS
$custom: #2c5014;
$custom-light: #698155;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5014",
  "rgb": {
    "r": 44,
    "g": 80,
    "b": 20
  },
  "hsl": {
    "h": 96,
    "s": 60,
    "l": 19.608
  },
  "oklch": {
    "l": 0.39006,
    "c": 0.09712,
    "h": 135.3
  },
  "luminance": 0.06323
}

Semantic roles & 50–950 ramp

primary
#2C5014
secondary
#683888
accent
#45E3A4
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2C5014

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

Preview Lab → · Contrast checker → · Palette generator →

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