#2C5811#2C5811

#2C5811 is a dark, moderate yellow-green. Relative luminance 0.076; OKLCH L 41.3% C 0.111 H 136.3°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#2C5811
RGBrgb(44, 88, 17)
HSLhsl(97, 68%, 21%)
HSVhsv(97, 81%, 35%)
CMYKcmyk(50%, 0%, 80.7%, 65.5%)
CIE-LABlab(33.04, -28.77, 34.13)
CIE-LCHlch(33.04, 44.64, 130.13°)
OKLaboklab(41.32% -0.0801 0.0765)
OKLCHoklch(41.32% 0.111 136.3)
XYZxyz(4.6295, 7.5551, 1.7445)
Luminance0.0756 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5811 #3D1158
analogous
#4F5811 #2C5811 #115819
triadic
#2C5811 #112C58 #58112C
tetradic
#2C5811 #114F58 #3D1158 #581911
square
#2C5811 #114F58 #3D1158 #581911
split-complementary
#2C5811 #191158 #58114F
monochromatic
#0D1A05 #122507 #2C5811 #468B1B #5FBF25

Accessibility & contrast

On white

8.36
#2C5811 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#2C5811 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5811
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5811#FFFFFF#000000##FFFFFF
##2C58111.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5004
Deuteranopia (green-blind)
#564C18
Tritanopia (blue-blind)
#2A544A
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2c5811;
/* rgb */ color: rgb(44, 88, 17);
/* oklch */ color: oklch(41.3% 0.111 136.3);
Tailwind
colors: {
  custom: {
    50: '#6a8755',
    500: '#2c5811',
    950: '#000000',
  },
}
SCSS
$custom: #2c5811;
$custom-light: #6a8755;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5811",
  "rgb": {
    "r": 44,
    "g": 88,
    "b": 17
  },
  "hsl": {
    "h": 97.183,
    "s": 67.619,
    "l": 20.588
  },
  "oklch": {
    "l": 0.41315,
    "c": 0.11071,
    "h": 136.3
  },
  "luminance": 0.07555
}

Semantic roles & 50–950 ramp

primary
#2C5811
secondary
#6E3491
accent
#3DEAA9
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2C5811

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

Preview Lab → · Contrast checker → · Palette generator →

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