#2C4B16#2C4B16

#2C4B16 is a dark, moderate yellow-green. Relative luminance 0.056; OKLCH L 37.6% C 0.088 H 134.6°. Best body text is #FFFFFF at 9.88:1 contrast (WCAG AA passes).

Color values

HEX#2C4B16
RGBrgb(44, 75, 22)
HSLhsl(95, 55%, 19%)
HSVhsv(95, 71%, 29%)
CMYKcmyk(41.3%, 0%, 70.7%, 70.6%)
CIE-LABlab(28.45, -22.13, 27.14)
CIE-LCHlch(28.45, 35.02, 129.20°)
OKLaboklab(37.57% -0.0616 0.0626)
OKLCHoklch(37.57% 0.088 134.6)
XYZxyz(3.6995, 5.6254, 1.6498)
Luminance0.0563 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4B16 #35164B
analogous
#474B16 #2C4B16 #164B1B
triadic
#2C4B16 #162C4B #4B162C
tetradic
#2C4B16 #16474B #35164B #4B1B16
square
#2C4B16 #16474B #35164B #4B1B16
split-complementary
#2C4B16 #1B164B #4B1647
monochromatic
#0E1807 #101C08 #2C4B16 #487A24 #64AA32

Accessibility & contrast

On white

9.88
#2C4B16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.13
#2C4B16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4B16
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4B16#FFFFFF#000000##FFFFFF
##2C4B161.009.882.139.88
#FFFFFF9.881.0021.001.00
#0000002.1321.001.0021.00
##FFFFFF9.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4E450F
Deuteranopia (green-blind)
#4A421A
Tritanopia (blue-blind)
#2C4840
Achromatopsia (no color)
#434343

Design tokens & code

CSS
--color: #2c4b16;
/* rgb */ color: rgb(44, 75, 22);
/* oklch */ color: oklch(37.6% 0.088 134.6);
Tailwind
colors: {
  custom: {
    50: '#687d56',
    500: '#2c4b16',
    950: '#000000',
  },
}
SCSS
$custom: #2c4b16;
$custom-light: #687d56;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4b16",
  "rgb": {
    "r": 44,
    "g": 75,
    "b": 22
  },
  "hsl": {
    "h": 95.094,
    "s": 54.639,
    "l": 19.02
  },
  "oklch": {
    "l": 0.37568,
    "c": 0.08783,
    "h": 134.6
  },
  "luminance": 0.05626
}

Semantic roles & 50–950 ramp

primary
#2C4B16
secondary
#653A83
accent
#4ADEA0
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2C4B16

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

Preview Lab → · Contrast checker → · Palette generator →

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