#2C4210#2C4210

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

Color values

HEX#2C4210
RGBrgb(44, 66, 16)
HSLhsl(86, 61%, 16%)
HSVhsv(86, 76%, 26%)
CMYKcmyk(33.3%, 0%, 75.8%, 74.1%)
CIE-LABlab(25.17, -18.02, 26.59)
CIE-LCHlch(25.17, 32.12, 124.14°)
OKLaboklab(34.88% -0.051 0.0605)
OKLCHoklch(34.88% 0.079 130.1)
XYZxyz(3.0804, 4.4692, 1.1905)
Luminance0.0447 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C4210 #261042
analogous
#423F10 #2C4210 #134210
triadic
#2C4210 #102C42 #42102C
tetradic
#2C4210 #10423F #261042 #421013
square
#2C4210 #10423F #261042 #421013
split-complementary
#2C4210 #101342 #3F1042
monochromatic
#101906 #101906 #2C4210 #4D731C #6EA528

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C4210#FFFFFF#000000##FFFFFF
##2C42101.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)
#453D09
Deuteranopia (green-blind)
#423B14
Tritanopia (blue-blind)
#2D3F38
Achromatopsia (no color)
#3C3C3C

Design tokens & code

CSS
--color: #2c4210;
/* rgb */ color: rgb(44, 66, 16);
/* oklch */ color: oklch(34.9% 0.079 130.1);
Tailwind
colors: {
  custom: {
    50: '#677651',
    500: '#2c4210',
    950: '#000000',
  },
}
SCSS
$custom: #2c4210;
$custom-light: #677651;
$custom-dark: #000000;
JSON
{
  "hex": "#2c4210",
  "rgb": {
    "r": 44,
    "g": 66,
    "b": 16
  },
  "hsl": {
    "h": 86.4,
    "s": 60.976,
    "l": 16.078
  },
  "oklch": {
    "l": 0.34876,
    "c": 0.07912,
    "h": 130.1
  },
  "luminance": 0.04469
}

Semantic roles & 50–950 ramp

primary
#2C4210
secondary
#52327C
accent
#44E48A
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060802
muted
#7A7B78

Preview Lab

Preview with #2C4210

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

Preview Lab → · Contrast checker → · Palette generator →

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