#2C520F#2C520F

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

Color values

HEX#2C520F
RGBrgb(44, 82, 15)
HSLhsl(94, 69%, 19%)
HSVhsv(94, 82%, 32%)
CMYKcmyk(46.3%, 0%, 81.7%, 67.8%)
CIE-LABlab(30.89, -26.15, 32.81)
CIE-LCHlch(30.89, 41.96, 128.56°)
OKLaboklab(39.55% -0.0731 0.0734)
OKLCHoklch(39.55% 0.104 134.9)
XYZxyz(4.1421, 6.6043, 1.5083)
Luminance0.0660 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C520F #350F52
analogous
#4E520F #2C520F #0F5214
triadic
#2C520F #0F2C52 #520F2C
tetradic
#2C520F #0F4E52 #350F52 #52140F
square
#2C520F #0F4E52 #350F52 #52140F
split-complementary
#2C520F #140F52 #520F4E
monochromatic
#0E1A05 #101E06 #2C520F #488618 #64B922

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C520F#FFFFFF#000000##FFFFFF
##2C520F1.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)
#554B03
Deuteranopia (green-blind)
#504816
Tritanopia (blue-blind)
#2B4F45
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #2c520f;
/* rgb */ color: rgb(44, 82, 15);
/* oklch */ color: oklch(39.5% 0.104 134.9);
Tailwind
colors: {
  custom: {
    50: '#698353',
    500: '#2c520f',
    950: '#000000',
  },
}
SCSS
$custom: #2c520f;
$custom-light: #698353;
$custom-dark: #000000;
JSON
{
  "hex": "#2c520f",
  "rgb": {
    "r": 44,
    "g": 82,
    "b": 15
  },
  "hsl": {
    "h": 94.03,
    "s": 69.072,
    "l": 19.02
  },
  "oklch": {
    "l": 0.39547,
    "c": 0.10361,
    "h": 134.9
  },
  "luminance": 0.06605
}

Semantic roles & 50–950 ramp

primary
#2C520F
secondary
#65318C
accent
#3CECA0
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#070A03
muted
#7A7C78

Preview Lab

Preview with #2C520F

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

Preview Lab → · Contrast checker → · Palette generator →

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