#2C5314#2C5314

#2C5314 is a dark, moderate yellow-green. Relative luminance 0.068; OKLCH L 39.9% C 0.102 H 135.9°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).

Color values

HEX#2C5314
RGBrgb(44, 83, 20)
HSLhsl(97, 61%, 20%)
HSVhsv(97, 76%, 33%)
CMYKcmyk(47%, 0%, 75.9%, 67.5%)
CIE-LABlab(31.28, -26.22, 31.10)
CIE-LCHlch(31.28, 40.68, 130.14°)
OKLaboklab(39.88% -0.0729 0.0706)
OKLCHoklch(39.88% 0.102 135.9)
XYZxyz(4.2581, 6.7722, 1.7445)
Luminance0.0677 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5314 #3B1453
analogous
#4B5314 #2C5314 #14531C
triadic
#2C5314 #142C53 #53142C
tetradic
#2C5314 #144B53 #3B1453 #531C14
square
#2C5314 #144B53 #3B1453 #531C14
split-complementary
#2C5314 #1C1453 #53144B
monochromatic
#0D1906 #122208 #2C5314 #468420 #60B62C

Accessibility & contrast

On white

8.92
#2C5314 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.35
#2C5314 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5314
8.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5314#FFFFFF#000000##FFFFFF
##2C53141.008.922.358.92
#FFFFFF8.921.0021.001.00
#0000002.3521.001.0021.00
##FFFFFF8.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564C0A
Deuteranopia (green-blind)
#51481A
Tritanopia (blue-blind)
#2B5046
Achromatopsia (no color)
#4A4A4A

Design tokens & code

CSS
--color: #2c5314;
/* rgb */ color: rgb(44, 83, 20);
/* oklch */ color: oklch(39.9% 0.102 135.9);
Tailwind
colors: {
  custom: {
    50: '#698456',
    500: '#2c5314',
    950: '#000000',
  },
}
SCSS
$custom: #2c5314;
$custom-light: #698456;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5314",
  "rgb": {
    "r": 44,
    "g": 83,
    "b": 20
  },
  "hsl": {
    "h": 97.143,
    "s": 61.165,
    "l": 20.196
  },
  "oklch": {
    "l": 0.39882,
    "c": 0.10152,
    "h": 135.9
  },
  "luminance": 0.06772
}

Semantic roles & 50–950 ramp

primary
#2C5314
secondary
#6B388B
accent
#44E4A7
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#070B03
muted
#7A7C78

Preview Lab

Preview with #2C5314

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

Preview Lab → · Contrast checker → · Palette generator →

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