#2C6210#2C6210

#2C6210 is a dark, vivid yellow-green. Relative luminance 0.093; OKLCH L 44.2% C 0.125 H 137.6°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#2C6210
RGBrgb(44, 98, 16)
HSLhsl(100, 72%, 22%)
HSVhsv(100, 84%, 38%)
CMYKcmyk(55.1%, 0%, 83.7%, 61.6%)
CIE-LABlab(36.57, -33.20, 37.90)
CIE-LCHlch(36.57, 50.38, 131.23°)
OKLaboklab(44.22% -0.0921 0.0842)
OKLCHoklch(44.22% 0.125 137.6)
XYZxyz(5.4997, 9.3078, 1.9969)
Luminance0.0931 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6210 #461062
analogous
#556210 #2C6210 #10621D
triadic
#2C6210 #102C62 #62102C
tetradic
#2C6210 #105562 #461062 #621D10
square
#2C6210 #105562 #461062 #621D10
split-complementary
#2C6210 #1D1062 #621055
monochromatic
#0C1A04 #142D07 #2C6210 #449719 #5BCB21

Accessibility & contrast

On white

7.34
#2C6210 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.86
#2C6210 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C6210
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6210#FFFFFF#000000##FFFFFF
##2C62101.007.342.867.34
#FFFFFF7.341.0021.001.00
#0000002.8621.001.0021.00
##FFFFFF7.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655900
Deuteranopia (green-blind)
#5F5419
Tritanopia (blue-blind)
#285E53
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #2c6210;
/* rgb */ color: rgb(44, 98, 16);
/* oklch */ color: oklch(44.2% 0.125 137.6);
Tailwind
colors: {
  custom: {
    50: '#6c8f56',
    500: '#2c6210',
    950: '#000000',
  },
}
SCSS
$custom: #2c6210;
$custom-light: #6c8f56;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6210",
  "rgb": {
    "r": 44,
    "g": 98,
    "b": 16
  },
  "hsl": {
    "h": 99.512,
    "s": 71.93,
    "l": 22.353
  },
  "oklch": {
    "l": 0.44219,
    "c": 0.12474,
    "h": 137.6
  },
  "luminance": 0.09308
}

Semantic roles & 50–950 ramp

primary
#2C6210
secondary
#77339B
accent
#39EFB1
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2C6210

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

Preview Lab → · Contrast checker → · Palette generator →

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