#2C520E#2C520E

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

Color values

HEX#2C520E
RGBrgb(44, 82, 14)
HSLhsl(94, 71%, 19%)
HSVhsv(94, 83%, 32%)
CMYKcmyk(46.3%, 0%, 82.9%, 67.8%)
CIE-LABlab(30.88, -26.22, 33.19)
CIE-LCHlch(30.88, 42.30, 128.31°)
OKLaboklab(39.54% -0.0734 0.074)
OKLCHoklch(39.54% 0.104 134.8)
XYZxyz(4.1352, 6.6015, 1.4717)
Luminance0.0660 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C520E #340E52
analogous
#4E520E #2C520E #0E5212
triadic
#2C520E #0E2C52 #520E2C
tetradic
#2C520E #0E4E52 #340E52 #52120E
square
#2C520E #0E4E52 #340E52 #52120E
split-complementary
#2C520E #120E52 #520E4E
monochromatic
#0E1A04 #101E05 #2C520E #488617 #64BB20

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C520E#FFFFFF#000000##FFFFFF
##2C520E1.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)
#554B02
Deuteranopia (green-blind)
#504815
Tritanopia (blue-blind)
#2B4F45
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2c520e;
/* rgb */ color: rgb(44, 82, 14);
/* oklch */ color: oklch(39.5% 0.104 134.8);
Tailwind
colors: {
  custom: {
    50: '#698352',
    500: '#2c520e',
    950: '#000000',
  },
}
SCSS
$custom: #2c520e;
$custom-light: #698352;
$custom-dark: #000000;
JSON
{
  "hex": "#2c520e",
  "rgb": {
    "r": 44,
    "g": 82,
    "b": 14
  },
  "hsl": {
    "h": 93.529,
    "s": 70.833,
    "l": 18.824
  },
  "oklch": {
    "l": 0.39539,
    "c": 0.10424,
    "h": 134.8
  },
  "luminance": 0.06602
}

Semantic roles & 50–950 ramp

primary
#2C520E
secondary
#632F8C
accent
#3AEE9E
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#070A02
muted
#7A7C78

Preview Lab

Preview with #2C520E

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

Preview Lab → · Contrast checker → · Palette generator →

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