#2C4206#2C4206

#2C4206 is a dark, moderate yellow-green. Relative luminance 0.044; OKLCH L 34.8% C 0.086 H 128.6°. Best body text is #FFFFFF at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#2C4206
RGBrgb(44, 66, 6)
HSLhsl(82, 83%, 14%)
HSVhsv(82, 91%, 26%)
CMYKcmyk(33.3%, 0%, 90.9%, 74.1%)
CIE-LABlab(25.09, -18.76, 30.80)
CIE-LCHlch(25.09, 36.06, 121.34°)
OKLaboklab(34.79% -0.0539 0.0675)
OKLCHoklch(34.79% 0.086 128.6)
XYZxyz(3.0198, 4.4450, 0.8711)
Luminance0.0445 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4206 #1C0642
analogous
#423A06 #2C4206 #0E4206
triadic
#2C4206 #062C42 #42062C
tetradic
#2C4206 #06423A #1C0642 #42060E
square
#2C4206 #06423A #1C0642 #42060E
split-complementary
#2C4206 #060E42 #3A0642
monochromatic
#131C03 #131C03 #2C4206 #517A0B #77B210

Accessibility & contrast

On white

11.12
#2C4206 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.89
#2C4206 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4206
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4206#FFFFFF#000000##FFFFFF
##2C42061.0011.121.8911.12
#FFFFFF11.121.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.121.0021.001.00

Color blindness preview

Protanopia (red-blind)
#463C00
Deuteranopia (green-blind)
#433B0C
Tritanopia (blue-blind)
#2E3F37
Achromatopsia (no color)
#3B3B3B

Design tokens & code

CSS
--color: #2c4206;
/* rgb */ color: rgb(44, 66, 6);
/* oklch */ color: oklch(34.8% 0.086 128.6);
Tailwind
colors: {
  custom: {
    50: '#68764c',
    500: '#2c4206',
    950: '#000000',
  },
}
SCSS
$custom: #2c4206;
$custom-light: #68764c;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4206",
  "rgb": {
    "r": 44,
    "g": 66,
    "b": 6
  },
  "hsl": {
    "h": 82,
    "s": 83.333,
    "l": 14.118
  },
  "oklch": {
    "l": 0.34792,
    "c": 0.08642,
    "h": 128.6
  },
  "luminance": 0.04445
}

Semantic roles & 50–950 ramp

primary
#2C4206
secondary
#452282
accent
#2EFA79
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060801
muted
#7A7B77

Preview Lab

Preview with #2C4206

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

Preview Lab → · Contrast checker → · Palette generator →

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