#2C4115#2C4115

#2C4115 is a dark, moderate yellow-green. Relative luminance 0.044; OKLCH L 34.6% C 0.073 H 130.8°. Best body text is #FFFFFF at 11.21:1 contrast (WCAG AA passes).

Color values

HEX#2C4115
RGBrgb(44, 65, 21)
HSLhsl(89, 51%, 17%)
HSVhsv(89, 68%, 25%)
CMYKcmyk(32.3%, 0%, 67.7%, 74.5%)
CIE-LABlab(24.86, -16.98, 23.69)
CIE-LCHlch(24.86, 29.15, 125.64°)
OKLaboklab(34.64% -0.0476 0.0551)
OKLCHoklch(34.64% 0.073 130.8)
XYZxyz(3.0643, 4.3701, 1.3914)
Luminance0.0437 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4115 #2A1541
analogous
#414015 #2C4115 #164115
triadic
#2C4115 #152C41 #41152C
tetradic
#2C4115 #154140 #2A1541 #411516
square
#2C4115 #154140 #2A1541 #411516
split-complementary
#2C4115 #151641 #401541
monochromatic
#101707 #101707 #2C4115 #4B6F24 #6B9E33

Accessibility & contrast

On white

11.21
#2C4115 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.87
#2C4115 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4115
11.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4115#FFFFFF#000000##FFFFFF
##2C41151.0011.211.8711.21
#FFFFFF11.211.0021.001.00
#0000001.8721.001.0021.00
##FFFFFF11.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#443C10
Deuteranopia (green-blind)
#413A18
Tritanopia (blue-blind)
#2D3E38
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2c4115;
/* rgb */ color: rgb(44, 65, 21);
/* oklch */ color: oklch(34.6% 0.073 130.8);
Tailwind
colors: {
  custom: {
    50: '#677554',
    500: '#2c4115',
    950: '#000000',
  },
}
SCSS
$custom: #2c4115;
$custom-light: #677554;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4115",
  "rgb": {
    "r": 44,
    "g": 65,
    "b": 21
  },
  "hsl": {
    "h": 88.636,
    "s": 51.163,
    "l": 16.863
  },
  "oklch": {
    "l": 0.34644,
    "c": 0.07282,
    "h": 130.8
  },
  "luminance": 0.0437
}

Semantic roles & 50–950 ramp

primary
#2C4115
secondary
#573979
accent
#4DDB91
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060803
muted
#7A7B78

Preview Lab

Preview with #2C4115

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

Preview Lab → · Contrast checker → · Palette generator →

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