#2C3D17#2C3D17

#2C3D17 is a dark, moderate yellow-green. Relative luminance 0.039; OKLCH L 33.5% C 0.064 H 129.3°. Best body text is #FFFFFF at 11.75:1 contrast (WCAG AA passes).

Color values

HEX#2C3D17
RGBrgb(44, 61, 23)
HSLhsl(87, 45%, 16%)
HSVhsv(87, 62%, 24%)
CMYKcmyk(27.9%, 0%, 62.3%, 76.1%)
CIE-LABlab(23.45, -14.51, 20.96)
CIE-LCHlch(23.45, 25.49, 124.69°)
OKLaboklab(33.51% -0.0406 0.0495)
OKLCHoklch(33.51% 0.064 129.3)
XYZxyz(2.8621, 3.9348, 1.4191)
Luminance0.0394 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C3D17 #28173D
analogous
#3D3B17 #2C3D17 #193D17
triadic
#2C3D17 #172C3D #3D172C
tetradic
#2C3D17 #173D3B #28173D #3D1719
square
#2C3D17 #173D3B #28173D #3D1719
split-complementary
#2C3D17 #17193D #3B173D
monochromatic
#101608 #101608 #2C3D17 #4C6928 #6C9639

Accessibility & contrast

On white

11.75
#2C3D17 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.79
#2C3D17 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C3D17
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C3D17#FFFFFF#000000##FFFFFF
##2C3D171.0011.751.7911.75
#FFFFFF11.751.0021.001.00
#0000001.7921.001.0021.00
##FFFFFF11.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403913
Deuteranopia (green-blind)
#3E3719
Tritanopia (blue-blind)
#2D3A35
Achromatopsia (no color)
#383838

Design tokens & code

CSS
--color: #2c3d17;
/* rgb */ color: rgb(44, 61, 23);
/* oklch */ color: oklch(33.5% 0.064 129.3);
Tailwind
colors: {
  custom: {
    50: '#667255',
    500: '#2c3d17',
    950: '#000000',
  },
}
SCSS
$custom: #2c3d17;
$custom-light: #667255;
$custom-dark: #000000;
JSON
{
  "hex": "#2c3d17",
  "rgb": {
    "r": 44,
    "g": 61,
    "b": 23
  },
  "hsl": {
    "h": 86.842,
    "s": 45.238,
    "l": 16.471
  },
  "oklch": {
    "l": 0.33514,
    "c": 0.06399,
    "h": 129.3
  },
  "luminance": 0.03935
}

Semantic roles & 50–950 ramp

primary
#2C3D17
secondary
#553C74
accent
#53D58D
background
#F6F6F5
surface
#EBECE9
border
#C6C7C5
text
#060803
muted
#7A7B78

Preview Lab

Preview with #2C3D17

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

Preview Lab → · Contrast checker → · Palette generator →

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