#2C5814#2C5814

#2C5814 is a dark, moderate yellow-green. Relative luminance 0.076; OKLCH L 41.3% C 0.109 H 136.8°. Best body text is #FFFFFF at 8.36:1 contrast (WCAG AA passes).

Color values

HEX#2C5814
RGBrgb(44, 88, 20)
HSLhsl(99, 63%, 21%)
HSVhsv(99, 77%, 35%)
CMYKcmyk(50%, 0%, 77.3%, 65.5%)
CIE-LABlab(33.06, -28.54, 32.93)
CIE-LCHlch(33.06, 43.57, 130.92°)
OKLaboklab(41.34% -0.0792 0.0744)
OKLCHoklch(41.34% 0.109 136.8)
XYZxyz(4.6546, 7.5651, 1.8766)
Luminance0.0756 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5814 #401458
analogous
#4E5814 #2C5814 #14581E
triadic
#2C5814 #142C58 #58142C
tetradic
#2C5814 #144E58 #401458 #581E14
square
#2C5814 #144E58 #401458 #581E14
split-complementary
#2C5814 #1E1458 #58144E
monochromatic
#0C1906 #132609 #2C5814 #458A1F #5EBC2B

Accessibility & contrast

On white

8.36
#2C5814 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.51
#2C5814 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5814
8.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5814#FFFFFF#000000##FFFFFF
##2C58141.008.362.518.36
#FFFFFF8.361.0021.001.00
#0000002.5121.001.0021.00
##FFFFFF8.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B5008
Deuteranopia (green-blind)
#554C1B
Tritanopia (blue-blind)
#2A554B
Achromatopsia (no color)
#4E4E4E

Design tokens & code

CSS
--color: #2c5814;
/* rgb */ color: rgb(44, 88, 20);
/* oklch */ color: oklch(41.3% 0.109 136.8);
Tailwind
colors: {
  custom: {
    50: '#6a8756',
    500: '#2c5814',
    950: '#000000',
  },
}
SCSS
$custom: #2c5814;
$custom-light: #6a8756;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5814",
  "rgb": {
    "r": 44,
    "g": 88,
    "b": 20
  },
  "hsl": {
    "h": 98.824,
    "s": 62.963,
    "l": 21.176
  },
  "oklch": {
    "l": 0.4134,
    "c": 0.10869,
    "h": 136.8
  },
  "luminance": 0.07565
}

Semantic roles & 50–950 ramp

primary
#2C5814
secondary
#713890
accent
#42E6AC
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2C5814

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

Preview Lab → · Contrast checker → · Palette generator →

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