#2C4211#2C4211

#2C4211 is a dark, moderate yellow-green. Relative luminance 0.045; OKLCH L 34.9% C 0.078 H 130.3°. Best body text is #FFFFFF at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#2C4211
RGBrgb(44, 66, 17)
HSLhsl(87, 59%, 16%)
HSVhsv(87, 74%, 26%)
CMYKcmyk(33.3%, 0%, 74.2%, 74.1%)
CIE-LABlab(25.18, -17.93, 26.11)
CIE-LCHlch(25.18, 31.67, 124.48°)
OKLaboklab(34.89% -0.0506 0.0597)
OKLCHoklch(34.89% 0.078 130.3)
XYZxyz(3.0881, 4.4723, 1.2307)
Luminance0.0447 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4211 #271142
analogous
#424011 #2C4211 #144211
triadic
#2C4211 #112C42 #42112C
tetradic
#2C4211 #114240 #271142 #421114
square
#2C4211 #114240 #271142 #421114
split-complementary
#2C4211 #111442 #401142
monochromatic
#101806 #101806 #2C4211 #4C731E #6DA32A

Accessibility & contrast

On white

11.09
#2C4211 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C4211
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4211#FFFFFF#000000##FFFFFF
##2C42111.0011.091.8911.09
#FFFFFF11.091.0021.001.00
#0000001.8921.001.0021.00
##FFFFFF11.091.0021.001.00

Color blindness preview

Protanopia (red-blind)
#453D0A
Deuteranopia (green-blind)
#423B15
Tritanopia (blue-blind)
#2D3F38
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2c4211;
/* rgb */ color: rgb(44, 66, 17);
/* oklch */ color: oklch(34.9% 0.078 130.3);
Tailwind
colors: {
  custom: {
    50: '#677652',
    500: '#2c4211',
    950: '#000000',
  },
}
SCSS
$custom: #2c4211;
$custom-light: #677652;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4211",
  "rgb": {
    "r": 44,
    "g": 66,
    "b": 17
  },
  "hsl": {
    "h": 86.939,
    "s": 59.036,
    "l": 16.275
  },
  "oklch": {
    "l": 0.34887,
    "c": 0.07824,
    "h": 130.3
  },
  "luminance": 0.04472
}

Semantic roles & 50–950 ramp

primary
#2C4211
secondary
#54337C
accent
#46E28C
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2C4211

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

Preview Lab → · Contrast checker → · Palette generator →

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