#2C5213#2C5213

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

Color values

HEX#2C5213
RGBrgb(44, 82, 19)
HSLhsl(96, 62%, 20%)
HSVhsv(96, 77%, 32%)
CMYKcmyk(46.3%, 0%, 76.8%, 67.8%)
CIE-LABlab(30.92, -25.84, 31.17)
CIE-LCHlch(30.92, 40.49, 129.66°)
OKLaboklab(39.58% -0.072 0.0706)
OKLCHoklch(39.58% 0.101 135.5)
XYZxyz(4.1734, 6.6168, 1.6732)
Luminance0.0662 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5213 #391352
analogous
#4C5213 #2C5213 #135219
triadic
#2C5213 #132C52 #52132C
tetradic
#2C5213 #134C52 #391352 #521913
square
#2C5213 #134C52 #391352 #521913
split-complementary
#2C5213 #191352 #52134C
monochromatic
#0D1906 #112007 #2C5213 #47841F #61B52A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C5213#FFFFFF#000000##FFFFFF
##2C52131.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)
#554B09
Deuteranopia (green-blind)
#504819
Tritanopia (blue-blind)
#2B4F46
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2c5213;
/* rgb */ color: rgb(44, 82, 19);
/* oklch */ color: oklch(39.6% 0.101 135.5);
Tailwind
colors: {
  custom: {
    50: '#698355',
    500: '#2c5213',
    950: '#000000',
  },
}
SCSS
$custom: #2c5213;
$custom-light: #698355;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5213",
  "rgb": {
    "r": 44,
    "g": 82,
    "b": 19
  },
  "hsl": {
    "h": 96.19,
    "s": 62.376,
    "l": 19.804
  },
  "oklch": {
    "l": 0.39581,
    "c": 0.10082,
    "h": 135.5
  },
  "luminance": 0.06617
}

Semantic roles & 50–950 ramp

primary
#2C5213
secondary
#69368A
accent
#42E5A5
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2C5213

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

Preview Lab → · Contrast checker → · Palette generator →

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