#2C4D0D#2C4D0D

#2C4D0D is a dark, moderate yellow-green. Relative luminance 0.059; OKLCH L 38.1% C 0.098 H 133.4°. Best body text is #FFFFFF at 9.66:1 contrast (WCAG AA passes).

Color values

HEX#2C4D0D
RGBrgb(44, 77, 13)
HSLhsl(91, 71%, 18%)
HSVhsv(91, 83%, 30%)
CMYKcmyk(42.9%, 0%, 83.1%, 69.8%)
CIE-LABlab(29.09, -23.90, 31.84)
CIE-LCHlch(29.09, 39.81, 126.89°)
OKLaboklab(38.07% -0.0672 0.071)
OKLCHoklch(38.07% 0.098 133.4)
XYZxyz(3.7652, 5.8721, 1.3157)
Luminance0.0587 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4D0D #2E0D4D
analogous
#4C4D0D #2C4D0D #0D4D0E
triadic
#2C4D0D #0D2C4D #4D0D2C
tetradic
#2C4D0D #0D4C4D #2E0D4D #4D0E0D
square
#2C4D0D #0D4C4D #2E0D4D #4D0E0D
split-complementary
#2C4D0D #0E0D4D #4D0D4C
monochromatic
#0F1A04 #0F1A04 #2C4D0D #4A8116 #68B61F

Accessibility & contrast

On white

9.66
#2C4D0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.17
#2C4D0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4D0D
9.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4D0D#FFFFFF#000000##FFFFFF
##2C4D0D1.009.662.179.66
#FFFFFF9.661.0021.001.00
#0000002.1721.001.0021.00
##FFFFFF9.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#504602
Deuteranopia (green-blind)
#4C4414
Tritanopia (blue-blind)
#2C4A41
Achromatopsia (no color)
#454545

Design tokens & code

CSS
--color: #2c4d0d;
/* rgb */ color: rgb(44, 77, 13);
/* oklch */ color: oklch(38.1% 0.098 133.4);
Tailwind
colors: {
  custom: {
    50: '#697f51',
    500: '#2c4d0d',
    950: '#000000',
  },
}
SCSS
$custom: #2c4d0d;
$custom-light: #697f51;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4d0d",
  "rgb": {
    "r": 44,
    "g": 77,
    "b": 13
  },
  "hsl": {
    "h": 90.938,
    "s": 71.111,
    "l": 17.647
  },
  "oklch": {
    "l": 0.38068,
    "c": 0.09777,
    "h": 133.4
  },
  "luminance": 0.05872
}

Semantic roles & 50–950 ramp

primary
#2C4D0D
secondary
#5C2E88
accent
#3AEE97
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #2C4D0D

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

Preview Lab → · Contrast checker → · Palette generator →

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