#2C4011#2C4011

#2C4011 is a dark, moderate yellow-green. Relative luminance 0.042; OKLCH L 34.3% C 0.075 H 129.4°. Best body text is #FFFFFF at 11.36:1 contrast (WCAG AA passes).

Color values

HEX#2C4011
RGBrgb(44, 64, 17)
HSLhsl(86, 58%, 16%)
HSVhsv(86, 73%, 25%)
CMYKcmyk(31.2%, 0%, 73.4%, 74.9%)
CIE-LABlab(24.46, -16.84, 25.34)
CIE-LCHlch(24.46, 30.43, 123.61°)
OKLaboklab(34.31% -0.0476 0.0581)
OKLCHoklch(34.31% 0.075 129.4)
XYZxyz(2.9733, 4.2427, 1.1925)
Luminance0.0424 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4011 #251140
analogous
#403C11 #2C4011 #144011
triadic
#2C4011 #112C40 #40112C
tetradic
#2C4011 #11403C #251140 #401114
square
#2C4011 #11403C #251140 #401114
split-complementary
#2C4011 #111440 #3C1140
monochromatic
#111806 #111806 #2C4011 #4D701E #6EA12B

Accessibility & contrast

On white

11.36
#2C4011 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C4011
11.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4011#FFFFFF#000000##FFFFFF
##2C40111.0011.361.8511.36
#FFFFFF11.361.0021.001.00
#0000001.8521.001.0021.00
##FFFFFF11.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#433B0B
Deuteranopia (green-blind)
#413A15
Tritanopia (blue-blind)
#2D3D36
Achromatopsia (no color)
#3A3A3A

Design tokens & code

CSS
--color: #2c4011;
/* rgb */ color: rgb(44, 64, 17);
/* oklch */ color: oklch(34.3% 0.075 129.4);
Tailwind
colors: {
  custom: {
    50: '#677552',
    500: '#2c4011',
    950: '#000000',
  },
}
SCSS
$custom: #2c4011;
$custom-light: #677552;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4011",
  "rgb": {
    "r": 44,
    "g": 64,
    "b": 17
  },
  "hsl": {
    "h": 85.532,
    "s": 58.025,
    "l": 15.882
  },
  "oklch": {
    "l": 0.34305,
    "c": 0.0751,
    "h": 129.4
  },
  "luminance": 0.04243
}

Semantic roles & 50–950 ramp

primary
#2C4011
secondary
#513379
accent
#47E188
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2C4011

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

Preview Lab → · Contrast checker → · Palette generator →

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