#2C5915#2C5915

#2C5915 is a dark, moderate yellow-green. Relative luminance 0.077; OKLCH L 41.6% C 0.109 H 137.1°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#2C5915
RGBrgb(44, 89, 21)
HSLhsl(100, 62%, 22%)
HSVhsv(100, 76%, 35%)
CMYKcmyk(50.6%, 0%, 76.4%, 65.1%)
CIE-LABlab(33.42, -28.91, 32.87)
CIE-LCHlch(33.42, 43.77, 131.33°)
OKLaboklab(41.64% -0.0801 0.0745)
OKLCHoklch(41.64% 0.109 137.1)
XYZxyz(4.7463, 7.7341, 1.9520)
Luminance0.0773 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5915 #421559
analogous
#4E5915 #2C5915 #155920
triadic
#2C5915 #152C59 #59152C
tetradic
#2C5915 #154E59 #421559 #592015
square
#2C5915 #154E59 #421559 #592015
split-complementary
#2C5915 #201559 #59154E
monochromatic
#0C1906 #142709 #2C5915 #448B21 #5DBC2C

Accessibility & contrast

On white

8.25
#2C5915 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.55
#2C5915 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5915
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5915#FFFFFF#000000##FFFFFF
##2C59151.008.252.558.25
#FFFFFF8.251.0021.001.00
#0000002.5521.001.0021.00
##FFFFFF8.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5C510A
Deuteranopia (green-blind)
#564D1B
Tritanopia (blue-blind)
#29564C
Achromatopsia (no color)
#4F4F4F

Design tokens & code

CSS
--color: #2c5915;
/* rgb */ color: rgb(44, 89, 21);
/* oklch */ color: oklch(41.6% 0.109 137.1);
Tailwind
colors: {
  custom: {
    50: '#6a8857',
    500: '#2c5915',
    950: '#000000',
  },
}
SCSS
$custom: #2c5915;
$custom-light: #6a8857;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5915",
  "rgb": {
    "r": 44,
    "g": 89,
    "b": 21
  },
  "hsl": {
    "h": 99.706,
    "s": 61.818,
    "l": 21.569
  },
  "oklch": {
    "l": 0.4164,
    "c": 0.10938,
    "h": 137.1
  },
  "luminance": 0.07734
}

Semantic roles & 50–950 ramp

primary
#2C5915
secondary
#733991
accent
#43E5AE
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2C5915

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

Preview Lab → · Contrast checker → · Palette generator →

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