#2C500D#2C500D

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

Color values

HEX#2C500D
RGBrgb(44, 80, 13)
HSLhsl(92, 72%, 18%)
HSVhsv(92, 84%, 31%)
CMYKcmyk(45%, 0%, 83.7%, 68.6%)
CIE-LABlab(30.16, -25.34, 32.88)
CIE-LCHlch(30.16, 41.51, 127.63°)
OKLaboklab(38.95% -0.0711 0.0732)
OKLCHoklch(38.95% 0.102 134.2)
XYZxyz(3.9799, 6.3016, 1.3873)
Luminance0.0630 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C500D #310D50
analogous
#4D500D #2C500D #0D500F
triadic
#2C500D #0D2C50 #500D2C
tetradic
#2C500D #0D4D50 #310D50 #500F0D
square
#2C500D #0D4D50 #310D50 #500F0D
split-complementary
#2C500D #0F0D50 #500D4D
monochromatic
#0E1A04 #0F1B04 #2C500D #498516 #66B91E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C500D#FFFFFF#000000##FFFFFF
##2C500D1.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)
#534901
Deuteranopia (green-blind)
#4F4614
Tritanopia (blue-blind)
#2C4D43
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #2c500d;
/* rgb */ color: rgb(44, 80, 13);
/* oklch */ color: oklch(38.9% 0.102 134.2);
Tailwind
colors: {
  custom: {
    50: '#698152',
    500: '#2c500d',
    950: '#000000',
  },
}
SCSS
$custom: #2c500d;
$custom-light: #698152;
$custom-dark: #000000;
JSON
{
  "hex": "#2c500d",
  "rgb": {
    "r": 44,
    "g": 80,
    "b": 13
  },
  "hsl": {
    "h": 92.239,
    "s": 72.043,
    "l": 18.235
  },
  "oklch": {
    "l": 0.38947,
    "c": 0.10204,
    "h": 134.2
  },
  "luminance": 0.06302
}

Semantic roles & 50–950 ramp

primary
#2C500D
secondary
#602E8B
accent
#39EF9B
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070A02
muted
#7A7C78

Preview Lab

Preview with #2C500D

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

Preview Lab → · Contrast checker → · Palette generator →

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