#2C5111#2C5111

#2C5111 is a dark, moderate yellow-green. Relative luminance 0.065; OKLCH L 39.3% C 0.101 H 135.0°. Best body text is #FFFFFF at 9.16:1 contrast (WCAG AA passes).

Color values

HEX#2C5111
RGBrgb(44, 81, 17)
HSLhsl(95, 65%, 19%)
HSVhsv(95, 79%, 32%)
CMYKcmyk(45.7%, 0%, 79%, 68.2%)
CIE-LABlab(30.55, -25.53, 31.65)
CIE-LCHlch(30.55, 40.67, 128.89°)
OKLaboklab(39.27% -0.0713 0.0713)
OKLCHoklch(39.27% 0.101 135)
XYZxyz(4.0822, 6.4606, 1.5621)
Luminance0.0646 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5111 #361151
analogous
#4C5111 #2C5111 #115116
triadic
#2C5111 #112C51 #51112C
tetradic
#2C5111 #114C51 #361151 #511611
square
#2C5111 #114C51 #361151 #511611
split-complementary
#2C5111 #161151 #51114C
monochromatic
#0E1905 #111E06 #2C5111 #47841C #63B626

Accessibility & contrast

On white

9.16
#2C5111 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.29
#2C5111 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5111
9.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5111#FFFFFF#000000##FFFFFF
##2C51111.009.162.299.16
#FFFFFF9.161.0021.001.00
#0000002.2921.001.0021.00
##FFFFFF9.161.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544A06
Deuteranopia (green-blind)
#4F4717
Tritanopia (blue-blind)
#2B4E45
Achromatopsia (no color)
#484848

Design tokens & code

CSS
--color: #2c5111;
/* rgb */ color: rgb(44, 81, 17);
/* oklch */ color: oklch(39.3% 0.101 135.0);
Tailwind
colors: {
  custom: {
    50: '#698254',
    500: '#2c5111',
    950: '#000000',
  },
}
SCSS
$custom: #2c5111;
$custom-light: #698254;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5111",
  "rgb": {
    "r": 44,
    "g": 81,
    "b": 17
  },
  "hsl": {
    "h": 94.688,
    "s": 65.306,
    "l": 19.216
  },
  "oklch": {
    "l": 0.39271,
    "c": 0.10083,
    "h": 135
  },
  "luminance": 0.06461
}

Semantic roles & 50–950 ramp

primary
#2C5111
secondary
#66348A
accent
#40E8A1
background
#F6F8F4
surface
#EBEFE8
border
#C6CAC4
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #2C5111

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

Preview Lab → · Contrast checker → · Palette generator →

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