#2C4213#2C4213

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

Color values

HEX#2C4213
RGBrgb(44, 66, 19)
HSLhsl(88, 55%, 17%)
HSVhsv(88, 71%, 26%)
CMYKcmyk(33.3%, 0%, 71.2%, 74.1%)
CIE-LABlab(25.20, -17.74, 25.12)
CIE-LCHlch(25.20, 30.75, 125.23°)
OKLaboklab(34.91% -0.0499 0.0579)
OKLCHoklch(34.91% 0.076 130.8)
XYZxyz(3.1044, 4.4788, 1.3169)
Luminance0.0448 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4213 #291342
analogous
#424113 #2C4213 #154213
triadic
#2C4213 #132C42 #42132C
tetradic
#2C4213 #134241 #291342 #421315
square
#2C4213 #134241 #291342 #421315
split-complementary
#2C4213 #131542 #411342
monochromatic
#101807 #101807 #2C4213 #4C7221 #6BA12E

Accessibility & contrast

On white

11.08
#2C4213 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.90
#2C4213 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C4213
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C4213#FFFFFF#000000##FFFFFF
##2C42131.0011.081.9011.08
#FFFFFF11.081.0021.001.00
#0000001.9021.001.0021.00
##FFFFFF11.081.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c4213;
/* rgb */ color: rgb(44, 66, 19);
/* oklch */ color: oklch(34.9% 0.076 130.8);
Tailwind
colors: {
  custom: {
    50: '#677653',
    500: '#2c4213',
    950: '#000000',
  },
}
SCSS
$custom: #2c4213;
$custom-light: #677653;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4213",
  "rgb": {
    "r": 44,
    "g": 66,
    "b": 19
  },
  "hsl": {
    "h": 88.085,
    "s": 55.294,
    "l": 16.667
  },
  "oklch": {
    "l": 0.3491,
    "c": 0.07641,
    "h": 130.8
  },
  "luminance": 0.04479
}

Semantic roles & 50–950 ramp

primary
#2C4213
secondary
#56367B
accent
#49DF8F
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2C4213

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

Preview Lab → · Contrast checker → · Palette generator →

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