#2C5414#2C5414

#2C5414 is a dark, moderate yellow-green. Relative luminance 0.069; OKLCH L 40.2% C 0.103 H 136.1°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#2C5414
RGBrgb(44, 84, 20)
HSLhsl(98, 62%, 20%)
HSVhsv(98, 76%, 33%)
CMYKcmyk(47.6%, 0%, 76.2%, 67.1%)
CIE-LABlab(31.64, -26.69, 31.47)
CIE-LCHlch(31.64, 41.27, 130.31°)
OKLaboklab(40.17% -0.0742 0.0714)
OKLCHoklch(40.17% 0.103 136.1)
XYZxyz(4.3352, 6.9264, 1.7702)
Luminance0.0693 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5414 #3C1454
analogous
#4C5414 #2C5414 #14541C
triadic
#2C5414 #142C54 #54142C
tetradic
#2C5414 #144C54 #3C1454 #541C14
square
#2C5414 #144C54 #3C1454 #541C14
split-complementary
#2C5414 #1C1454 #54144C
monochromatic
#0D1906 #122308 #2C5414 #468520 #60B72C

Accessibility & contrast

On white

8.80
#2C5414 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.39
#2C5414 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5414
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5414#FFFFFF#000000##FFFFFF
##2C54141.008.802.398.80
#FFFFFF8.801.0021.001.00
#0000002.3921.001.0021.00
##FFFFFF8.801.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574D0A
Deuteranopia (green-blind)
#52491A
Tritanopia (blue-blind)
#2A5147
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2c5414;
/* rgb */ color: rgb(44, 84, 20);
/* oklch */ color: oklch(40.2% 0.103 136.1);
Tailwind
colors: {
  custom: {
    50: '#698456',
    500: '#2c5414',
    950: '#000000',
  },
}
SCSS
$custom: #2c5414;
$custom-light: #698456;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5414",
  "rgb": {
    "r": 44,
    "g": 84,
    "b": 20
  },
  "hsl": {
    "h": 97.5,
    "s": 61.538,
    "l": 20.392
  },
  "oklch": {
    "l": 0.40174,
    "c": 0.10297,
    "h": 136.1
  },
  "luminance": 0.06927
}

Semantic roles & 50–950 ramp

primary
#2C5414
secondary
#6C388C
accent
#43E5A8
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2C5414

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

Preview Lab → · Contrast checker → · Palette generator →

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