#2C4E03#2C4E03

#2C4E03 is a dark, moderate yellow-green. Relative luminance 0.060; OKLCH L 38.3% C 0.105 H 132.5°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).

Color values

HEX#2C4E03
RGBrgb(44, 78, 3)
HSLhsl(87, 93%, 16%)
HSVhsv(87, 96%, 31%)
CMYKcmyk(43.6%, 0%, 96.2%, 69.4%)
CIE-LABlab(29.39, -24.98, 35.78)
CIE-LCHlch(29.39, 43.63, 124.92°)
OKLaboklab(38.3% -0.0709 0.0773)
OKLCHoklch(38.3% 0.105 132.5)
XYZxyz(3.7795, 5.9906, 1.0433)
Luminance0.0599 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4E03 #25034E
analogous
#4E4A03 #2C4E03 #064E03
triadic
#2C4E03 #032C4E #4E032C
tetradic
#2C4E03 #034E4A #25034E #4E0306
square
#2C4E03 #034E4A #25034E #4E0306
split-complementary
#2C4E03 #03064E #4A034E
monochromatic
#111D01 #111D01 #2C4E03 #4D8905 #6EC408

Accessibility & contrast

On white

9.55
#2C4E03 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.20
#2C4E03 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4E03
9.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4E03#FFFFFF#000000##FFFFFF
##2C4E031.009.552.209.55
#FFFFFF9.551.0021.001.00
#0000002.2021.001.0021.00
##FFFFFF9.551.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c4e03;
/* rgb */ color: rgb(44, 78, 3);
/* oklch */ color: oklch(38.3% 0.105 132.5);
Tailwind
colors: {
  custom: {
    50: '#69804d',
    500: '#2c4e03',
    950: '#000000',
  },
}
SCSS
$custom: #2c4e03;
$custom-light: #69804d;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4e03",
  "rgb": {
    "r": 44,
    "g": 78,
    "b": 3
  },
  "hsl": {
    "h": 87.2,
    "s": 92.593,
    "l": 15.882
  },
  "oklch": {
    "l": 0.38296,
    "c": 0.10488,
    "h": 132.5
  },
  "luminance": 0.05991
}

Semantic roles & 50–950 ramp

primary
#2C4E03
secondary
#511E8E
accent
#29FF8A
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#070A02
muted
#7A7C78

Preview Lab

Preview with #2C4E03

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

Preview Lab → · Contrast checker → · Palette generator →

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