#2C4017#2C4017

#2C4017 is a dark, moderate yellow-green. Relative luminance 0.043; OKLCH L 34.4% C 0.069 H 130.9°. Best body text is #FFFFFF at 11.33:1 contrast (WCAG AA passes).

Color values

HEX#2C4017
RGBrgb(44, 64, 23)
HSLhsl(89, 47%, 17%)
HSVhsv(89, 64%, 25%)
CMYKcmyk(31.2%, 0%, 64.1%, 74.9%)
CIE-LABlab(24.53, -16.20, 22.21)
CIE-LCHlch(24.53, 27.49, 126.11°)
OKLaboklab(34.38% -0.0452 0.0522)
OKLCHoklch(34.38% 0.069 130.9)
XYZxyz(3.0267, 4.2640, 1.4740)
Luminance0.0426 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4017 #2B1740
analogous
#404017 #2C4017 #184017
triadic
#2C4017 #172C40 #40172C
tetradic
#2C4017 #174040 #2B1740 #401718
square
#2C4017 #174040 #2B1740 #401718
split-complementary
#2C4017 #171840 #401740
monochromatic
#0F1708 #0F1708 #2C4017 #4B6D27 #6A9A37

Accessibility & contrast

On white

11.33
#2C4017 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.85
#2C4017 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4017
11.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4017#FFFFFF#000000##FFFFFF
##2C40171.0011.331.8511.33
#FFFFFF11.331.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.331.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B13
Deuteranopia (green-blind)
#403A1A
Tritanopia (blue-blind)
#2D3D37
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2c4017;
/* rgb */ color: rgb(44, 64, 23);
/* oklch */ color: oklch(34.4% 0.069 130.9);
Tailwind
colors: {
  custom: {
    50: '#677555',
    500: '#2c4017',
    950: '#000000',
  },
}
SCSS
$custom: #2c4017;
$custom-light: #677555;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4017",
  "rgb": {
    "r": 44,
    "g": 64,
    "b": 23
  },
  "hsl": {
    "h": 89.268,
    "s": 47.126,
    "l": 17.059
  },
  "oklch": {
    "l": 0.34381,
    "c": 0.06906,
    "h": 130.9
  },
  "luminance": 0.04264
}

Semantic roles & 50–950 ramp

primary
#2C4017
secondary
#593C77
accent
#51D792
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060803
muted
#7A7B78

Preview Lab

Preview with #2C4017

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

Preview Lab → · Contrast checker → · Palette generator →

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