#2C4D11#2C4D11

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

Color values

HEX#2C4D11
RGBrgb(44, 77, 17)
HSLhsl(93, 64%, 18%)
HSVhsv(93, 78%, 30%)
CMYKcmyk(42.9%, 0%, 77.9%, 69.8%)
CIE-LABlab(29.12, -23.59, 30.21)
CIE-LCHlch(29.12, 38.33, 127.99°)
OKLaboklab(38.1% -0.066 0.0683)
OKLCHoklch(38.1% 0.095 134.1)
XYZxyz(3.7937, 5.8835, 1.4659)
Luminance0.0588 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4D11 #32114D
analogous
#4A4D11 #2C4D11 #114D14
triadic
#2C4D11 #112C4D #4D112C
tetradic
#2C4D11 #114A4D #32114D #4D1411
square
#2C4D11 #114A4D #32114D #4D1411
split-complementary
#2C4D11 #14114D #4D114A
monochromatic
#0E1906 #0F1B06 #2C4D11 #497F1C #65B127

Accessibility & contrast

On white

9.65
#2C4D11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.18
#2C4D11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4D11
9.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4D11#FFFFFF#000000##FFFFFF
##2C4D111.009.652.189.65
#FFFFFF9.651.0021.001.00
#0000002.1821.001.0021.00
##FFFFFF9.651.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c4d11;
/* rgb */ color: rgb(44, 77, 17);
/* oklch */ color: oklch(38.1% 0.095 134.1);
Tailwind
colors: {
  custom: {
    50: '#687f53',
    500: '#2c4d11',
    950: '#000000',
  },
}
SCSS
$custom: #2c4d11;
$custom-light: #687f53;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4d11",
  "rgb": {
    "r": 44,
    "g": 77,
    "b": 17
  },
  "hsl": {
    "h": 93,
    "s": 63.83,
    "l": 18.431
  },
  "oklch": {
    "l": 0.38101,
    "c": 0.09499,
    "h": 134.1
  },
  "luminance": 0.05884
}

Semantic roles & 50–950 ramp

primary
#2C4D11
secondary
#613386
accent
#41E79C
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2C4D11

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

Preview Lab → · Contrast checker → · Palette generator →

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