#2C5715#2C5715

#2C5715 is a dark, moderate yellow-green. Relative luminance 0.074; OKLCH L 41.1% C 0.107 H 136.8°. Best body text is #FFFFFF at 8.46:1 contrast (WCAG AA passes).

Color values

HEX#2C5715
RGBrgb(44, 87, 21)
HSLhsl(99, 61%, 21%)
HSVhsv(99, 76%, 34%)
CMYKcmyk(49.4%, 0%, 75.9%, 65.9%)
CIE-LABlab(32.71, -28.00, 32.14)
CIE-LCHlch(32.71, 42.62, 131.06°)
OKLaboklab(41.06% -0.0776 0.073)
OKLCHoklch(41.06% 0.107 136.8)
XYZxyz(4.5821, 7.4057, 1.8973)
Luminance0.0741 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5715 #401557
analogous
#4D5715 #2C5715 #15571F
triadic
#2C5715 #152C57 #57152C
tetradic
#2C5715 #154D57 #401557 #571F15
square
#2C5715 #154D57 #401557 #571F15
split-complementary
#2C5715 #1F1557 #57154D
monochromatic
#0C1906 #132609 #2C5715 #458821 #5EBA2D

Accessibility & contrast

On white

8.46
#2C5715 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.48
#2C5715 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5715
8.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5715#FFFFFF#000000##FFFFFF
##2C57151.008.462.488.46
#FFFFFF8.461.0021.001.00
#0000002.4821.001.0021.00
##FFFFFF8.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A4F0B
Deuteranopia (green-blind)
#544C1B
Tritanopia (blue-blind)
#2A544A
Achromatopsia (no color)
#4D4D4D

Design tokens & code

CSS
--color: #2c5715;
/* rgb */ color: rgb(44, 87, 21);
/* oklch */ color: oklch(41.1% 0.107 136.8);
Tailwind
colors: {
  custom: {
    50: '#6a8757',
    500: '#2c5715',
    950: '#000000',
  },
}
SCSS
$custom: #2c5715;
$custom-light: #6a8757;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5715",
  "rgb": {
    "r": 44,
    "g": 87,
    "b": 21
  },
  "hsl": {
    "h": 99.091,
    "s": 61.111,
    "l": 21.176
  },
  "oklch": {
    "l": 0.41058,
    "c": 0.10654,
    "h": 136.8
  },
  "luminance": 0.07406
}

Semantic roles & 50–950 ramp

primary
#2C5715
secondary
#71398F
accent
#44E4AC
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2C5715

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

Preview Lab → · Contrast checker → · Palette generator →

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