#2C5F0D#2C5F0D

#2C5F0D is a dark, vivid yellow-green. Relative luminance 0.087; OKLCH L 43.3% C 0.122 H 136.9°. Best body text is #FFFFFF at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#2C5F0D
RGBrgb(44, 95, 13)
HSLhsl(97, 76%, 21%)
HSVhsv(97, 86%, 37%)
CMYKcmyk(53.7%, 0%, 86.3%, 62.7%)
CIE-LABlab(35.50, -32.11, 37.88)
CIE-LCHlch(35.50, 49.66, 130.28°)
OKLaboklab(43.33% -0.0893 0.0837)
OKLCHoklch(43.33% 0.122 136.9)
XYZxyz(5.2034, 8.7486, 1.7951)
Luminance0.0875 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C5F0D #400D5F
analogous
#555F0D #2C5F0D #0D5F17
triadic
#2C5F0D #0D2C5F #5F0D2C
tetradic
#2C5F0D #0D555F #400D5F #5F170D
square
#2C5F0D #0D555F #400D5F #5F170D
split-complementary
#2C5F0D #170D5F #5F0D55
monochromatic
#0C1B04 #132906 #2C5F0D #459514 #5ECB1C

Accessibility & contrast

On white

7.64
#2C5F0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#2C5F0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C5F0D
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C5F0D#FFFFFF#000000##FFFFFF
##2C5F0D1.007.642.757.64
#FFFFFF7.641.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635600
Deuteranopia (green-blind)
#5C5217
Tritanopia (blue-blind)
#295B50
Achromatopsia (no color)
#535353

Design tokens & code

CSS
--color: #2c5f0d;
/* rgb */ color: rgb(44, 95, 13);
/* oklch */ color: oklch(43.3% 0.122 136.9);
Tailwind
colors: {
  custom: {
    50: '#6b8d54',
    500: '#2c5f0d',
    950: '#000000',
  },
}
SCSS
$custom: #2c5f0d;
$custom-light: #6b8d54;
$custom-dark: #000000;
JSON
{
  "hex": "#2c5f0d",
  "rgb": {
    "r": 44,
    "g": 95,
    "b": 13
  },
  "hsl": {
    "h": 97.317,
    "s": 75.926,
    "l": 21.176
  },
  "oklch": {
    "l": 0.43329,
    "c": 0.12237,
    "h": 136.9
  },
  "luminance": 0.08749
}

Semantic roles & 50–950 ramp

primary
#2C5F0D
secondary
#712F99
accent
#35F3AB
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2C5F0D

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

Preview Lab → · Contrast checker → · Palette generator →

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