#2C5F11#2C5F11

#2C5F11 is a dark, vivid yellow-green. Relative luminance 0.088; OKLCH L 43.4% C 0.120 H 137.3°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#2C5F11
RGBrgb(44, 95, 17)
HSLhsl(99, 70%, 22%)
HSVhsv(99, 82%, 37%)
CMYKcmyk(53.7%, 0%, 82.1%, 62.7%)
CIE-LABlab(35.52, -31.86, 36.54)
CIE-LCHlch(35.52, 48.48, 131.09°)
OKLaboklab(43.35% -0.0884 0.0815)
OKLCHoklch(43.35% 0.12 137.3)
XYZxyz(5.2319, 8.7600, 1.9454)
Luminance0.0876 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5F11 #44115F
analogous
#535F11 #2C5F11 #115F1D
triadic
#2C5F11 #112C5F #5F112C
tetradic
#2C5F11 #11535F #44115F #5F1D11
square
#2C5F11 #11535F #44115F #5F1D11
split-complementary
#2C5F11 #1D115F #5F1153
monochromatic
#0C1A05 #142B08 #2C5F11 #44931A #5CC724

Accessibility & contrast

On white

7.63
#2C5F11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#2C5F11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5F11
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5F11#FFFFFF#000000##FFFFFF
##2C5F111.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625601
Deuteranopia (green-blind)
#5C521A
Tritanopia (blue-blind)
#295B50
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2c5f11;
/* rgb */ color: rgb(44, 95, 17);
/* oklch */ color: oklch(43.4% 0.120 137.3);
Tailwind
colors: {
  custom: {
    50: '#6b8d56',
    500: '#2c5f11',
    950: '#000000',
  },
}
SCSS
$custom: #2c5f11;
$custom-light: #6b8d56;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5f11",
  "rgb": {
    "r": 44,
    "g": 95,
    "b": 17
  },
  "hsl": {
    "h": 99.231,
    "s": 69.643,
    "l": 21.961
  },
  "oklch": {
    "l": 0.43354,
    "c": 0.12022,
    "h": 137.3
  },
  "luminance": 0.0876
}

Semantic roles & 50–950 ramp

primary
#2C5F11
secondary
#753498
accent
#3BECAF
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2C5F11

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

Preview Lab → · Contrast checker → · Palette generator →

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