#2C5B0D#2C5B0D

#2C5B0D is a dark, moderate yellow-green. Relative luminance 0.080; OKLCH L 42.2% C 0.117 H 136.3°. Best body text is #FFFFFF at 8.05:1 contrast (WCAG AA passes).

Color values

HEX#2C5B0D
RGBrgb(44, 91, 13)
HSLhsl(96, 75%, 20%)
HSVhsv(96, 86%, 36%)
CMYKcmyk(51.6%, 0%, 85.7%, 64.3%)
CIE-LABlab(34.08, -30.38, 36.57)
CIE-LCHlch(34.08, 47.54, 129.71°)
OKLaboklab(42.16% -0.0846 0.0809)
OKLCHoklch(42.16% 0.117 136.3)
XYZxyz(4.8523, 8.0464, 1.6781)
Luminance0.0805 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5B0D #3C0D5B
analogous
#535B0D #2C5B0D #0D5B15
triadic
#2C5B0D #0D2C5B #5B0D2C
tetradic
#2C5B0D #0D535B #3C0D5B #5B150D
square
#2C5B0D #0D535B #3C0D5B #5B150D
split-complementary
#2C5B0D #150D5B #5B0D53
monochromatic
#0D1B04 #122505 #2C5B0D #469115 #60C61C

Accessibility & contrast

On white

8.05
#2C5B0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.61
#2C5B0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5B0D
8.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5B0D#FFFFFF#000000##FFFFFF
##2C5B0D1.008.052.618.05
#FFFFFF8.051.0021.001.00
#0000002.6121.001.0021.00
##FFFFFF8.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5E5300
Deuteranopia (green-blind)
#584F16
Tritanopia (blue-blind)
#2A574D
Achromatopsia (no color)
#505050

Design tokens & code

CSS
--color: #2c5b0d;
/* rgb */ color: rgb(44, 91, 13);
/* oklch */ color: oklch(42.2% 0.117 136.3);
Tailwind
colors: {
  custom: {
    50: '#6b8a53',
    500: '#2c5b0d',
    950: '#000000',
  },
}
SCSS
$custom: #2c5b0d;
$custom-light: #6b8a53;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5b0d",
  "rgb": {
    "r": 44,
    "g": 91,
    "b": 13
  },
  "hsl": {
    "h": 96.154,
    "s": 75,
    "l": 20.392
  },
  "oklch": {
    "l": 0.42163,
    "c": 0.11711,
    "h": 136.3
  },
  "luminance": 0.08047
}

Semantic roles & 50–950 ramp

primary
#2C5B0D
secondary
#6C2F95
accent
#36F2A7
background
#F6F8F5
surface
#ECF0E8
border
#C7CBC4
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2C5B0D

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

Preview Lab → · Contrast checker → · Palette generator →

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