#2C5C0D#2C5C0D

#2C5C0D is a dark, moderate yellow-green. Relative luminance 0.082; OKLCH L 42.5% C 0.118 H 136.4°. Best body text is #FFFFFF at 7.94:1 contrast (WCAG AA passes).

Color values

HEX#2C5C0D
RGBrgb(44, 92, 13)
HSLhsl(96, 75%, 21%)
HSVhsv(96, 86%, 36%)
CMYKcmyk(52.2%, 0%, 85.9%, 63.9%)
CIE-LABlab(34.43, -30.81, 36.90)
CIE-LCHlch(34.43, 48.07, 129.86°)
OKLaboklab(42.46% -0.0858 0.0816)
OKLCHoklch(42.46% 0.118 136.4)
XYZxyz(4.9384, 8.2185, 1.7068)
Luminance0.0822 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5C0D #3D0D5C
analogous
#535C0D #2C5C0D #0D5C16
triadic
#2C5C0D #0D2C5C #5C0D2C
tetradic
#2C5C0D #0D535C #3D0D5C #5C160D
square
#2C5C0D #0D535C #3D0D5C #5C160D
split-complementary
#2C5C0D #160D5C #5C0D53
monochromatic
#0D1B04 #122605 #2C5C0D #469215 #5FC71C

Accessibility & contrast

On white

7.94
#2C5C0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.64
#2C5C0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5C0D
7.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5C0D#FFFFFF#000000##FFFFFF
##2C5C0D1.007.942.647.94
#FFFFFF7.941.0021.001.00
#0000002.6421.001.0021.00
##FFFFFF7.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5F5300
Deuteranopia (green-blind)
#595016
Tritanopia (blue-blind)
#2A584E
Achromatopsia (no color)
#515151

Design tokens & code

CSS
--color: #2c5c0d;
/* rgb */ color: rgb(44, 92, 13);
/* oklch */ color: oklch(42.5% 0.118 136.4);
Tailwind
colors: {
  custom: {
    50: '#6b8a54',
    500: '#2c5c0d',
    950: '#000000',
  },
}
SCSS
$custom: #2c5c0d;
$custom-light: #6b8a54;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5c0d",
  "rgb": {
    "r": 44,
    "g": 92,
    "b": 13
  },
  "hsl": {
    "h": 96.456,
    "s": 75.238,
    "l": 20.588
  },
  "oklch": {
    "l": 0.42455,
    "c": 0.11843,
    "h": 136.4
  },
  "luminance": 0.08219
}

Semantic roles & 50–950 ramp

primary
#2C5C0D
secondary
#6E2F96
accent
#36F2A8
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2C5C0D

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

Preview Lab → · Contrast checker → · Palette generator →

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