#2C5515#2C5515

#2C5515 is a dark, moderate yellow-green. Relative luminance 0.071; OKLCH L 40.5% C 0.104 H 136.5°. Best body text is #FFFFFF at 8.69:1 contrast (WCAG AA passes).

Color values

HEX#2C5515
RGBrgb(44, 85, 21)
HSLhsl(98, 60%, 21%)
HSVhsv(98, 75%, 33%)
CMYKcmyk(48.2%, 0%, 75.3%, 66.7%)
CIE-LABlab(32.00, -27.07, 31.40)
CIE-LCHlch(32.00, 41.46, 130.77°)
OKLaboklab(40.48% -0.0751 0.0714)
OKLCHoklch(40.48% 0.104 136.5)
XYZxyz(4.4224, 7.0863, 1.8441)
Luminance0.0709 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5515 #3E1555
analogous
#4C5515 #2C5515 #15551E
triadic
#2C5515 #152C55 #55152C
tetradic
#2C5515 #154C55 #3E1555 #551E15
square
#2C5515 #154C55 #3E1555 #551E15
split-complementary
#2C5515 #1E1555 #55154C
monochromatic
#0D1906 #132409 #2C5515 #458621 #5FB72D

Accessibility & contrast

On white

8.69
#2C5515 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.42
#2C5515 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5515
8.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5515#FFFFFF#000000##FFFFFF
##2C55151.008.692.428.69
#FFFFFF8.691.0021.001.00
#0000002.4221.001.0021.00
##FFFFFF8.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D0B
Deuteranopia (green-blind)
#534A1B
Tritanopia (blue-blind)
#2A5248
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #2c5515;
/* rgb */ color: rgb(44, 85, 21);
/* oklch */ color: oklch(40.5% 0.104 136.5);
Tailwind
colors: {
  custom: {
    50: '#698556',
    500: '#2c5515',
    950: '#000000',
  },
}
SCSS
$custom: #2c5515;
$custom-light: #698556;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5515",
  "rgb": {
    "r": 44,
    "g": 85,
    "b": 21
  },
  "hsl": {
    "h": 98.438,
    "s": 60.377,
    "l": 20.784
  },
  "oklch": {
    "l": 0.40475,
    "c": 0.10366,
    "h": 136.5
  },
  "luminance": 0.07087
}

Semantic roles & 50–950 ramp

primary
#2C5515
secondary
#6F398D
accent
#44E4AA
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2C5515

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

Preview Lab → · Contrast checker → · Palette generator →

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