#2C5010#2C5010

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

Color values

HEX#2C5010
RGBrgb(44, 80, 16)
HSLhsl(94, 67%, 19%)
HSVhsv(94, 80%, 31%)
CMYKcmyk(45%, 0%, 80%, 68.6%)
CIE-LABlab(30.18, -25.13, 31.71)
CIE-LCHlch(30.18, 40.46, 128.40°)
OKLaboklab(38.97% -0.0703 0.0712)
OKLCHoklch(38.97% 0.1 134.6)
XYZxyz(4.0008, 6.3100, 1.4973)
Luminance0.0631 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5010 #341050
analogous
#4C5010 #2C5010 #105014
triadic
#2C5010 #102C50 #50102C
tetradic
#2C5010 #104C50 #341050 #501410
square
#2C5010 #104C50 #341050 #501410
split-complementary
#2C5010 #141050 #50104C
monochromatic
#0E1A05 #101D06 #2C5010 #48831A #64B624

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C5010#FFFFFF#000000##FFFFFF
##2C50101.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)
#534905
Deuteranopia (green-blind)
#4E4616
Tritanopia (blue-blind)
#2B4D44
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2c5010;
/* rgb */ color: rgb(44, 80, 16);
/* oklch */ color: oklch(39.0% 0.100 134.6);
Tailwind
colors: {
  custom: {
    50: '#698153',
    500: '#2c5010',
    950: '#000000',
  },
}
SCSS
$custom: #2c5010;
$custom-light: #698153;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5010",
  "rgb": {
    "r": 44,
    "g": 80,
    "b": 16
  },
  "hsl": {
    "h": 93.75,
    "s": 66.667,
    "l": 18.824
  },
  "oklch": {
    "l": 0.3897,
    "c": 0.10009,
    "h": 134.6
  },
  "luminance": 0.0631
}

Semantic roles & 50–950 ramp

primary
#2C5010
secondary
#63328A
accent
#3EEA9F
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2C5010

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

Preview Lab → · Contrast checker → · Palette generator →

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