#2C4C10#2C4C10

#2C4C10 is a dark, moderate yellow-green. Relative luminance 0.057; OKLCH L 37.8% C 0.094 H 133.6°. Best body text is #FFFFFF at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#2C4C10
RGBrgb(44, 76, 16)
HSLhsl(92, 65%, 18%)
HSVhsv(92, 79%, 30%)
CMYKcmyk(42.1%, 0%, 78.9%, 70.2%)
CIE-LABlab(28.75, -23.18, 30.27)
CIE-LCHlch(28.75, 38.13, 127.44°)
OKLaboklab(37.8% -0.065 0.0683)
OKLCHoklch(37.8% 0.094 133.6)
XYZxyz(3.7166, 5.7416, 1.4025)
Luminance0.0574 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4C10 #30104C
analogous
#4A4C10 #2C4C10 #104C12
triadic
#2C4C10 #102C4C #4C102C
tetradic
#2C4C10 #104A4C #30104C #4C1210
square
#2C4C10 #104A4C #30104C #4C1210
split-complementary
#2C4C10 #12104C #4C104A
monochromatic
#0F1905 #0F1905 #2C4C10 #497F1B #67B125

Accessibility & contrast

On white

9.77
#2C4C10 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.15
#2C4C10 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4C10
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4C10#FFFFFF#000000##FFFFFF
##2C4C101.009.772.159.77
#FFFFFF9.771.0021.001.00
#0000002.1521.001.0021.00
##FFFFFF9.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4506
Deuteranopia (green-blind)
#4B4316
Tritanopia (blue-blind)
#2C4940
Achromatopsia (no color)
#444444

Design tokens & code

CSS
--color: #2c4c10;
/* rgb */ color: rgb(44, 76, 16);
/* oklch */ color: oklch(37.8% 0.094 133.6);
Tailwind
colors: {
  custom: {
    50: '#687e53',
    500: '#2c4c10',
    950: '#000000',
  },
}
SCSS
$custom: #2c4c10;
$custom-light: #687e53;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4c10",
  "rgb": {
    "r": 44,
    "g": 76,
    "b": 16
  },
  "hsl": {
    "h": 92,
    "s": 65.217,
    "l": 18.039
  },
  "oklch": {
    "l": 0.37799,
    "c": 0.09426,
    "h": 133.6
  },
  "luminance": 0.05742
}

Semantic roles & 50–950 ramp

primary
#2C4C10
secondary
#5F3286
accent
#40E89A
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #2C4C10

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

Preview Lab → · Contrast checker → · Palette generator →

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