#2C500C#2C500C

#2C500C is a dark, moderate yellow-green. Relative luminance 0.063; OKLCH L 38.9% C 0.103 H 134.1°. Best body text is #FFFFFF at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#2C500C
RGBrgb(44, 80, 12)
HSLhsl(92, 74%, 18%)
HSVhsv(92, 85%, 31%)
CMYKcmyk(45%, 0%, 85%, 68.6%)
CIE-LABlab(30.15, -25.41, 33.24)
CIE-LCHlch(30.15, 41.84, 127.39°)
OKLaboklab(38.94% -0.0714 0.0738)
OKLCHoklch(38.94% 0.103 134.1)
XYZxyz(3.9737, 6.2991, 1.3542)
Luminance0.0630 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C500C #300C50
analogous
#4E500C #2C500C #0C500E
triadic
#2C500C #0C2C50 #500C2C
tetradic
#2C500C #0C4E50 #300C50 #500E0C
square
#2C500C #0C4E50 #300C50 #500E0C
split-complementary
#2C500C #0E0C50 #500C4E
monochromatic
#0F1B04 #0F1B04 #2C500C #498514 #67BA1C

Accessibility & contrast

On white

9.29
#2C500C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.26
#2C500C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C500C
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C500C#FFFFFF#000000##FFFFFF
##2C500C1.009.292.269.29
#FFFFFF9.291.0021.001.00
#0000002.2621.001.0021.00
##FFFFFF9.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534900
Deuteranopia (green-blind)
#4F4613
Tritanopia (blue-blind)
#2C4C43
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2c500c;
/* rgb */ color: rgb(44, 80, 12);
/* oklch */ color: oklch(38.9% 0.103 134.1);
Tailwind
colors: {
  custom: {
    50: '#698151',
    500: '#2c500c',
    950: '#000000',
  },
}
SCSS
$custom: #2c500c;
$custom-light: #698151;
$custom-dark: #000000;
JSON
{
  "hex": "#2c500c",
  "rgb": {
    "r": 44,
    "g": 80,
    "b": 12
  },
  "hsl": {
    "h": 91.765,
    "s": 73.913,
    "l": 18.039
  },
  "oklch": {
    "l": 0.3894,
    "c": 0.10263,
    "h": 134.1
  },
  "luminance": 0.06299
}

Semantic roles & 50–950 ramp

primary
#2C500C
secondary
#5F2C8B
accent
#37F199
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070A02
muted
#7A7C78

Preview Lab

Preview with #2C500C

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

Preview Lab → · Contrast checker → · Palette generator →

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