#2C5D0D#2C5D0D

#2C5D0D is a dark, moderate yellow-green. Relative luminance 0.084; OKLCH L 42.7% C 0.120 H 136.6°. Best body text is #FFFFFF at 7.84:1 contrast (WCAG AA passes).

Color values

HEX#2C5D0D
RGBrgb(44, 93, 13)
HSLhsl(97, 75%, 21%)
HSVhsv(97, 86%, 36%)
CMYKcmyk(52.7%, 0%, 86%, 63.5%)
CIE-LABlab(34.79, -31.25, 37.23)
CIE-LCHlch(34.79, 48.60, 130.01°)
OKLaboklab(42.75% -0.087 0.0823)
OKLCHoklch(42.75% 0.12 136.6)
XYZxyz(5.0256, 8.3929, 1.7359)
Luminance0.0839 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5D0D #3E0D5D
analogous
#545D0D #2C5D0D #0D5D16
triadic
#2C5D0D #0D2C5D #5D0D2C
tetradic
#2C5D0D #0D545D #3E0D5D #5D160D
square
#2C5D0D #0D545D #3E0D5D #5D160D
split-complementary
#2C5D0D #160D5D #5D0D54
monochromatic
#0D1B04 #132705 #2C5D0D #459315 #5FC81C

Accessibility & contrast

On white

7.84
#2C5D0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.68
#2C5D0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5D0D
7.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5D0D#FFFFFF#000000##FFFFFF
##2C5D0D1.007.842.687.84
#FFFFFF7.841.0021.001.00
#0000002.6821.001.0021.00
##FFFFFF7.841.0021.001.00

Color blindness preview

Protanopia (red-blind)
#605400
Deuteranopia (green-blind)
#5A5017
Tritanopia (blue-blind)
#29594E
Achromatopsia (no color)
#525252

Design tokens & code

CSS
--color: #2c5d0d;
/* rgb */ color: rgb(44, 93, 13);
/* oklch */ color: oklch(42.7% 0.120 136.6);
Tailwind
colors: {
  custom: {
    50: '#6b8b54',
    500: '#2c5d0d',
    950: '#000000',
  },
}
SCSS
$custom: #2c5d0d;
$custom-light: #6b8b54;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5d0d",
  "rgb": {
    "r": 44,
    "g": 93,
    "b": 13
  },
  "hsl": {
    "h": 96.75,
    "s": 75.472,
    "l": 20.784
  },
  "oklch": {
    "l": 0.42746,
    "c": 0.11975,
    "h": 136.6
  },
  "luminance": 0.08393
}

Semantic roles & 50–950 ramp

primary
#2C5D0D
secondary
#6F2F97
accent
#36F2A9
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2C5D0D

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

Preview Lab → · Contrast checker → · Palette generator →

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