#2C5214#2C5214

#2C5214 is a dark, moderate yellow-green. Relative luminance 0.066; OKLCH L 39.6% C 0.100 H 135.7°. Best body text is #FFFFFF at 9.04:1 contrast (WCAG AA passes).

Color values

HEX#2C5214
RGBrgb(44, 82, 20)
HSLhsl(97, 61%, 20%)
HSVhsv(97, 76%, 32%)
CMYKcmyk(46.3%, 0%, 75.6%, 67.8%)
CIE-LABlab(30.93, -25.75, 30.73)
CIE-LCHlch(30.93, 40.09, 129.96°)
OKLaboklab(39.59% -0.0716 0.0699)
OKLCHoklch(39.59% 0.1 135.7)
XYZxyz(4.1822, 6.6203, 1.7192)
Luminance0.0662 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5214 #3A1452
analogous
#4B5214 #2C5214 #14521B
triadic
#2C5214 #142C52 #52142C
tetradic
#2C5214 #144B52 #3A1452 #521B14
square
#2C5214 #144B52 #3A1452 #521B14
split-complementary
#2C5214 #1B1452 #52144B
monochromatic
#0D1906 #122108 #2C5214 #468320 #61B42C

Accessibility & contrast

On white

9.04
#2C5214 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#2C5214 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5214
9.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5214#FFFFFF#000000##FFFFFF
##2C52141.009.042.329.04
#FFFFFF9.041.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B0B
Deuteranopia (green-blind)
#50481A
Tritanopia (blue-blind)
#2B4F46
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2c5214;
/* rgb */ color: rgb(44, 82, 20);
/* oklch */ color: oklch(39.6% 0.100 135.7);
Tailwind
colors: {
  custom: {
    50: '#698356',
    500: '#2c5214',
    950: '#000000',
  },
}
SCSS
$custom: #2c5214;
$custom-light: #698356;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5214",
  "rgb": {
    "r": 44,
    "g": 82,
    "b": 20
  },
  "hsl": {
    "h": 96.774,
    "s": 60.784,
    "l": 20
  },
  "oklch": {
    "l": 0.3959,
    "c": 0.10006,
    "h": 135.7
  },
  "luminance": 0.06621
}

Semantic roles & 50–950 ramp

primary
#2C5214
secondary
#6A388A
accent
#44E4A6
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2C5214

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

Preview Lab → · Contrast checker → · Palette generator →

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