#2C660E#2C660E

#2C660E is a mid, vivid yellow-green. Relative luminance 0.101; OKLCH L 45.4% C 0.131 H 137.8°. Best body text is #FFFFFF at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#2C660E
RGBrgb(44, 102, 14)
HSLhsl(100, 76%, 23%)
HSVhsv(100, 86%, 40%)
CMYKcmyk(56.9%, 0%, 86.3%, 60%)
CIE-LABlab(37.97, -34.99, 39.84)
CIE-LCHlch(37.97, 53.02, 131.29°)
OKLaboklab(45.37% -0.097 0.088)
OKLCHoklch(45.37% 0.131 137.8)
XYZxyz(5.8691, 10.0695, 2.0497)
Luminance0.1007 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C660E #480E66
analogous
#58660E #2C660E #0E661C
triadic
#2C660E #0E2C66 #660E2C
tetradic
#2C660E #0E5866 #480E66 #661C0E
square
#2C660E #0E5866 #480E66 #661C0E
split-complementary
#2C660E #1C0E66 #660E58
monochromatic
#0C1B04 #153007 #2C660E #439C15 #5AD21D

Accessibility & contrast

On white

6.97
#2C660E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.01
#2C660E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #2C660E
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C660E#FFFFFF#000000##FFFFFF
##2C660E1.006.973.016.97
#FFFFFF6.971.0021.001.00
#0000003.0121.001.0021.00
##FFFFFF6.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5C00
Deuteranopia (green-blind)
#625819
Tritanopia (blue-blind)
#276256
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #2c660e;
/* rgb */ color: rgb(44, 102, 14);
/* oklch */ color: oklch(45.4% 0.131 137.8);
Tailwind
colors: {
  custom: {
    50: '#6d9256',
    500: '#2c660e',
    950: '#000000',
  },
}
SCSS
$custom: #2c660e;
$custom-light: #6d9256;
$custom-dark: #000000;
JSON
{
  "hex": "#2c660e",
  "rgb": {
    "r": 44,
    "g": 102,
    "b": 14
  },
  "hsl": {
    "h": 99.545,
    "s": 75.862,
    "l": 22.745
  },
  "oklch": {
    "l": 0.45367,
    "c": 0.13091,
    "h": 137.8
  },
  "luminance": 0.1007
}

Semantic roles & 50–950 ramp

primary
#2C660E
secondary
#79319F
accent
#35F2B2
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D03
muted
#7A7E78

Preview Lab

Preview with #2C660E

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

Preview Lab → · Contrast checker → · Palette generator →

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