#2C4015#2C4015

#2C4015 is a dark, moderate yellow-green. Relative luminance 0.043; OKLCH L 34.4% C 0.071 H 130.4°. Best body text is #FFFFFF at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#2C4015
RGBrgb(44, 64, 21)
HSLhsl(88, 51%, 17%)
HSVhsv(88, 67%, 25%)
CMYKcmyk(31.2%, 0%, 67.2%, 74.9%)
CIE-LABlab(24.50, -16.43, 23.29)
CIE-LCHlch(24.50, 28.50, 125.21°)
OKLaboklab(34.35% -0.0461 0.0543)
OKLCHoklch(34.35% 0.071 130.4)
XYZxyz(3.0074, 4.2563, 1.3724)
Luminance0.0426 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4015 #291540
analogous
#403F15 #2C4015 #174015
triadic
#2C4015 #152C40 #40152C
tetradic
#2C4015 #15403F #291540 #401517
square
#2C4015 #15403F #291540 #401517
split-complementary
#2C4015 #151740 #3F1540
monochromatic
#101708 #101708 #2C4015 #4C6E24 #6B9C33

Accessibility & contrast

On white

11.34
#2C4015 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2C4015 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4015
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4015#FFFFFF#000000##FFFFFF
##2C40151.0011.341.8511.34
#FFFFFF11.341.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B10
Deuteranopia (green-blind)
#403A18
Tritanopia (blue-blind)
#2D3D37
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2c4015;
/* rgb */ color: rgb(44, 64, 21);
/* oklch */ color: oklch(34.4% 0.071 130.4);
Tailwind
colors: {
  custom: {
    50: '#677554',
    500: '#2c4015',
    950: '#000000',
  },
}
SCSS
$custom: #2c4015;
$custom-light: #677554;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4015",
  "rgb": {
    "r": 44,
    "g": 64,
    "b": 21
  },
  "hsl": {
    "h": 87.907,
    "s": 50.588,
    "l": 16.667
  },
  "oklch": {
    "l": 0.34354,
    "c": 0.07119,
    "h": 130.4
  },
  "luminance": 0.04256
}

Semantic roles & 50–950 ramp

primary
#2C4015
secondary
#563978
accent
#4EDA8F
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060803
muted
#7A7B78

Preview Lab

Preview with #2C4015

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

Preview Lab → · Contrast checker → · Palette generator →

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