#2C5210#2C5210

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

Color values

HEX#2C5210
RGBrgb(44, 82, 16)
HSLhsl(95, 67%, 19%)
HSVhsv(95, 80%, 32%)
CMYKcmyk(46.3%, 0%, 80.5%, 67.8%)
CIE-LABlab(30.90, -26.08, 32.42)
CIE-LCHlch(30.90, 41.60, 128.82°)
OKLaboklab(39.56% -0.0729 0.0727)
OKLCHoklch(39.56% 0.103 135.1)
XYZxyz(4.1494, 6.6072, 1.5468)
Luminance0.0661 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5210 #361052
analogous
#4D5210 #2C5210 #105215
triadic
#2C5210 #102C52 #52102C
tetradic
#2C5210 #104D52 #361052 #521510
square
#2C5210 #104D52 #361052 #521510
split-complementary
#2C5210 #151052 #52104D
monochromatic
#0E1A05 #111F06 #2C5210 #47851A #63B824

Accessibility & contrast

On white

9.05
#2C5210 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C5210
9.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5210#FFFFFF#000000##FFFFFF
##2C52101.009.052.329.05
#FFFFFF9.051.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B04
Deuteranopia (green-blind)
#504817
Tritanopia (blue-blind)
#2B4F45
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2c5210;
/* rgb */ color: rgb(44, 82, 16);
/* oklch */ color: oklch(39.6% 0.103 135.1);
Tailwind
colors: {
  custom: {
    50: '#698353',
    500: '#2c5210',
    950: '#000000',
  },
}
SCSS
$custom: #2c5210;
$custom-light: #698353;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5210",
  "rgb": {
    "r": 44,
    "g": 82,
    "b": 16
  },
  "hsl": {
    "h": 94.545,
    "s": 67.347,
    "l": 19.216
  },
  "oklch": {
    "l": 0.39555,
    "c": 0.10295,
    "h": 135.1
  },
  "luminance": 0.06607
}

Semantic roles & 50–950 ramp

primary
#2C5210
secondary
#66328C
accent
#3EEAA1
background
#F6F8F4
surface
#EBEFE8
border
#C6CAC4
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #2C5210

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

Preview Lab → · Contrast checker → · Palette generator →

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