#2C6010#2C6010

#2C6010 is a dark, vivid yellow-green. Relative luminance 0.089; OKLCH L 43.6% C 0.122 H 137.3°. Best body text is #FFFFFF at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#2C6010
RGBrgb(44, 96, 16)
HSLhsl(99, 71%, 22%)
HSVhsv(99, 83%, 38%)
CMYKcmyk(54.2%, 0%, 83.3%, 62.4%)
CIE-LABlab(35.87, -32.36, 37.23)
CIE-LCHlch(35.87, 49.32, 130.99°)
OKLaboklab(43.64% -0.0898 0.0828)
OKLCHoklch(43.64% 0.122 137.3)
XYZxyz(5.3149, 8.9382, 1.9353)
Luminance0.0894 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C6010 #441060
analogous
#546010 #2C6010 #10601C
triadic
#2C6010 #102C60 #60102C
tetradic
#2C6010 #105460 #441060 #601C10
square
#2C6010 #105460 #441060 #601C10
split-complementary
#2C6010 #1C1060 #601054
monochromatic
#0C1A04 #142C07 #2C6010 #449419 #5CC921

Accessibility & contrast

On white

7.53
#2C6010 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.79
#2C6010 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C6010
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C6010#FFFFFF#000000##FFFFFF
##2C60101.007.532.797.53
#FFFFFF7.531.0021.001.00
#0000002.7921.001.0021.00
##FFFFFF7.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635700
Deuteranopia (green-blind)
#5D5319
Tritanopia (blue-blind)
#295C51
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #2c6010;
/* rgb */ color: rgb(44, 96, 16);
/* oklch */ color: oklch(43.6% 0.122 137.3);
Tailwind
colors: {
  custom: {
    50: '#6b8e56',
    500: '#2c6010',
    950: '#000000',
  },
}
SCSS
$custom: #2c6010;
$custom-light: #6b8e56;
$custom-dark: #000000;
JSON
{
  "hex": "#2c6010",
  "rgb": {
    "r": 44,
    "g": 96,
    "b": 16
  },
  "hsl": {
    "h": 99,
    "s": 71.429,
    "l": 21.961
  },
  "oklch": {
    "l": 0.43638,
    "c": 0.12212,
    "h": 137.3
  },
  "luminance": 0.08939
}

Semantic roles & 50–950 ramp

primary
#2C6010
secondary
#753399
accent
#3AEEAF
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78

Preview Lab

Preview with #2C6010

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

Preview Lab → · Contrast checker → · Palette generator →

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