#2C450C#2C450C

#2C450C is a dark, moderate yellow-green. Relative luminance 0.048; OKLCH L 35.7% C 0.087 H 130.7°. Best body text is #FFFFFF at 10.69:1 contrast (WCAG AA passes).

Color values

HEX#2C450C
RGBrgb(44, 69, 12)
HSLhsl(86, 70%, 16%)
HSVhsv(86, 83%, 27%)
CMYKcmyk(36.2%, 0%, 82.6%, 72.9%)
CIE-LABlab(26.21, -19.93, 29.44)
CIE-LCHlch(26.21, 35.56, 124.10°)
OKLaboklab(35.72% -0.0566 0.0658)
OKLCHoklch(35.72% 0.087 130.7)
XYZxyz(3.2332, 4.8182, 1.1074)
Luminance0.0482 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C450C #250C45
analogous
#45410C #2C450C #0F450C
triadic
#2C450C #0C2C45 #450C2C
tetradic
#2C450C #0C4541 #250C45 #450C0F
square
#2C450C #0C4541 #250C45 #450C0F
split-complementary
#2C450C #0C0F45 #410C45
monochromatic
#111A05 #111A05 #2C450C #4D7915 #6EAD1E

Accessibility & contrast

On white

10.69
#2C450C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.96
#2C450C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C450C
10.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C450C#FFFFFF#000000##FFFFFF
##2C450C1.0010.691.9610.69
#FFFFFF10.691.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.691.0021.001.00

Color blindness preview

Protanopia (red-blind)
#493F03
Deuteranopia (green-blind)
#453D11
Tritanopia (blue-blind)
#2D423A
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2c450c;
/* rgb */ color: rgb(44, 69, 12);
/* oklch */ color: oklch(35.7% 0.087 130.7);
Tailwind
colors: {
  custom: {
    50: '#68794f',
    500: '#2c450c',
    950: '#000000',
  },
}
SCSS
$custom: #2c450c;
$custom-light: #68794f;
$custom-dark: #000000;
JSON
{
  "hex": "#2c450c",
  "rgb": {
    "r": 44,
    "g": 69,
    "b": 12
  },
  "hsl": {
    "h": 86.316,
    "s": 70.37,
    "l": 15.882
  },
  "oklch": {
    "l": 0.35716,
    "c": 0.08678,
    "h": 130.7
  },
  "luminance": 0.04818
}

Semantic roles & 50–950 ramp

primary
#2C450C
secondary
#512C81
accent
#3BED89
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2C450C

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

Preview Lab → · Contrast checker → · Palette generator →

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