#2C4F16#2C4F16

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

Color values

HEX#2C4F16
RGBrgb(44, 79, 22)
HSLhsl(97, 56%, 20%)
HSVhsv(97, 72%, 31%)
CMYKcmyk(44.3%, 0%, 72.2%, 69%)
CIE-LABlab(29.88, -24.12, 28.69)
CIE-LCHlch(29.88, 37.48, 130.05°)
OKLaboklab(38.74% -0.067 0.0659)
OKLCHoklch(38.74% 0.094 135.5)
XYZxyz(3.9794, 6.1852, 1.7431)
Luminance0.0619 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4F16 #39164F
analogous
#494F16 #2C4F16 #164F1C
triadic
#2C4F16 #162C4F #4F162C
tetradic
#2C4F16 #16494F #39164F #4F1C16
square
#2C4F16 #16494F #39164F #4F1C16
split-complementary
#2C4F16 #1C164F #4F1649
monochromatic
#0D1807 #111F09 #2C4F16 #477F23 #61AF31

Accessibility & contrast

On white

9.39
#2C4F16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#2C4F16 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4F16
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4F16#FFFFFF#000000##FFFFFF
##2C4F161.009.392.249.39
#FFFFFF9.391.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.391.0021.001.00

Color blindness preview

Protanopia (red-blind)
#52480E
Deuteranopia (green-blind)
#4D451B
Tritanopia (blue-blind)
#2B4C43
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2c4f16;
/* rgb */ color: rgb(44, 79, 22);
/* oklch */ color: oklch(38.7% 0.094 135.5);
Tailwind
colors: {
  custom: {
    50: '#688056',
    500: '#2c4f16',
    950: '#000000',
  },
}
SCSS
$custom: #2c4f16;
$custom-light: #688056;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4f16",
  "rgb": {
    "r": 44,
    "g": 79,
    "b": 22
  },
  "hsl": {
    "h": 96.842,
    "s": 56.436,
    "l": 19.804
  },
  "oklch": {
    "l": 0.38735,
    "c": 0.09397,
    "h": 135.5
  },
  "luminance": 0.06185
}

Semantic roles & 50–950 ramp

primary
#2C4F16
secondary
#693A86
accent
#48E0A5
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2C4F16

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

Preview Lab → · Contrast checker → · Palette generator →

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