#2C4B15#2C4B15

#2C4B15 is a dark, moderate yellow-green. Relative luminance 0.056; OKLCH L 37.6% C 0.089 H 134.3°. Best body text is #FFFFFF at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#2C4B15
RGBrgb(44, 75, 21)
HSLhsl(94, 56%, 19%)
HSVhsv(94, 72%, 29%)
CMYKcmyk(41.3%, 0%, 72%, 70.6%)
CIE-LABlab(28.44, -22.23, 27.63)
CIE-LCHlch(28.44, 35.46, 128.83°)
OKLaboklab(37.56% -0.062 0.0635)
OKLCHoklch(37.56% 0.089 134.3)
XYZxyz(3.6901, 5.6216, 1.6000)
Luminance0.0562 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4B15 #34154B
analogous
#474B15 #2C4B15 #154B19
triadic
#2C4B15 #152C4B #4B152C
tetradic
#2C4B15 #15474B #34154B #4B1915
square
#2C4B15 #15474B #34154B #4B1915
split-complementary
#2C4B15 #19154B #4B1547
monochromatic
#0E1807 #101B08 #2C4B15 #487B22 #64AB30

Accessibility & contrast

On white

9.89
#2C4B15 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.12
#2C4B15 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4B15
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4B15#FFFFFF#000000##FFFFFF
##2C4B151.009.892.129.89
#FFFFFF9.891.0021.001.00
#0000002.1221.001.0021.00
##FFFFFF9.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E450E
Deuteranopia (green-blind)
#4A4219
Tritanopia (blue-blind)
#2C4840
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2c4b15;
/* rgb */ color: rgb(44, 75, 21);
/* oklch */ color: oklch(37.6% 0.089 134.3);
Tailwind
colors: {
  custom: {
    50: '#687d55',
    500: '#2c4b15',
    950: '#000000',
  },
}
SCSS
$custom: #2c4b15;
$custom-light: #687d55;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4b15",
  "rgb": {
    "r": 44,
    "g": 75,
    "b": 21
  },
  "hsl": {
    "h": 94.444,
    "s": 56.25,
    "l": 18.824
  },
  "oklch": {
    "l": 0.37557,
    "c": 0.08873,
    "h": 134.3
  },
  "luminance": 0.05622
}

Semantic roles & 50–950 ramp

primary
#2C4B15
secondary
#633983
accent
#48E09F
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2C4B15

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

Preview Lab → · Contrast checker → · Palette generator →

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