#2C4F10#2C4F10

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

Color values

HEX#2C4F10
RGBrgb(44, 79, 16)
HSLhsl(93, 66%, 19%)
HSVhsv(93, 80%, 31%)
CMYKcmyk(44.3%, 0%, 79.7%, 69%)
CIE-LABlab(29.82, -24.65, 31.35)
CIE-LCHlch(29.82, 39.88, 128.17°)
OKLaboklab(38.68% -0.069 0.0705)
OKLCHoklch(38.68% 0.099 134.4)
XYZxyz(3.9281, 6.1646, 1.4730)
Luminance0.0617 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4F10 #33104F
analogous
#4B4F10 #2C4F10 #104F13
triadic
#2C4F10 #102C4F #4F102C
tetradic
#2C4F10 #104B4F #33104F #4F1310
square
#2C4F10 #104B4F #33104F #4F1310
split-complementary
#2C4F10 #13104F #4F104B
monochromatic
#0E1905 #101C06 #2C4F10 #48821A #65B525

Accessibility & contrast

On white

9.40
#2C4F10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.23
#2C4F10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4F10
9.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4F10#FFFFFF#000000##FFFFFF
##2C4F101.009.402.239.40
#FFFFFF9.401.0021.001.00
#0000002.2321.001.0021.00
##FFFFFF9.401.0021.001.00

Color blindness preview

Protanopia (red-blind)
#524805
Deuteranopia (green-blind)
#4E4516
Tritanopia (blue-blind)
#2C4C43
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #2c4f10;
/* rgb */ color: rgb(44, 79, 16);
/* oklch */ color: oklch(38.7% 0.099 134.4);
Tailwind
colors: {
  custom: {
    50: '#698053',
    500: '#2c4f10',
    950: '#000000',
  },
}
SCSS
$custom: #2c4f10;
$custom-light: #698053;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4f10",
  "rgb": {
    "r": 44,
    "g": 79,
    "b": 16
  },
  "hsl": {
    "h": 93.333,
    "s": 66.316,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38677,
    "c": 0.09864,
    "h": 134.4
  },
  "luminance": 0.06165
}

Semantic roles & 50–950 ramp

primary
#2C4F10
secondary
#623289
accent
#3FE99D
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A03
muted
#7A7C78

Preview Lab

Preview with #2C4F10

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

Preview Lab → · Contrast checker → · Palette generator →

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