#2C4F0D#2C4F0D

#2C4F0D is a dark, moderate yellow-green. Relative luminance 0.062; OKLCH L 38.7% C 0.101 H 133.9°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).

Color values

HEX#2C4F0D
RGBrgb(44, 79, 13)
HSLhsl(92, 72%, 18%)
HSVhsv(92, 84%, 31%)
CMYKcmyk(44.3%, 0%, 83.5%, 69%)
CIE-LABlab(29.80, -24.86, 32.53)
CIE-LCHlch(29.80, 40.95, 127.39°)
OKLaboklab(38.65% -0.0698 0.0725)
OKLCHoklch(38.65% 0.101 133.9)
XYZxyz(3.9073, 6.1563, 1.3631)
Luminance0.0616 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4F0D #300D4F
analogous
#4D4F0D #2C4F0D #0D4F0F
triadic
#2C4F0D #0D2C4F #4F0D2C
tetradic
#2C4F0D #0D4D4F #300D4F #4F0F0D
square
#2C4F0D #0D4D4F #300D4F #4F0F0D
split-complementary
#2C4F0D #0F0D4F #4F0D4D
monochromatic
#0F1A04 #0F1A04 #2C4F0D #498416 #67B81E

Accessibility & contrast

On white

9.41
#2C4F0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2C4F0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4F0D
9.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4F0D#FFFFFF#000000##FFFFFF
##2C4F0D1.009.412.239.41
#FFFFFF9.411.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524801
Deuteranopia (green-blind)
#4E4514
Tritanopia (blue-blind)
#2C4C43
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2c4f0d;
/* rgb */ color: rgb(44, 79, 13);
/* oklch */ color: oklch(38.7% 0.101 133.9);
Tailwind
colors: {
  custom: {
    50: '#698051',
    500: '#2c4f0d',
    950: '#000000',
  },
}
SCSS
$custom: #2c4f0d;
$custom-light: #698051;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4f0d",
  "rgb": {
    "r": 44,
    "g": 79,
    "b": 13
  },
  "hsl": {
    "h": 91.818,
    "s": 71.739,
    "l": 18.039
  },
  "oklch": {
    "l": 0.38654,
    "c": 0.10062,
    "h": 133.9
  },
  "luminance": 0.06156
}

Semantic roles & 50–950 ramp

primary
#2C4F0D
secondary
#5F2E8A
accent
#39EE99
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #2C4F0D

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

Preview Lab → · Contrast checker → · Palette generator →

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