#2C450B#2C450B

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

Color values

HEX#2C450B
RGBrgb(44, 69, 11)
HSLhsl(86, 73%, 16%)
HSVhsv(86, 84%, 27%)
CMYKcmyk(36.2%, 0%, 84.1%, 72.9%)
CIE-LABlab(26.20, -20.00, 29.85)
CIE-LCHlch(26.20, 35.93, 123.83°)
OKLaboklab(35.71% -0.0568 0.0665)
OKLCHoklch(35.71% 0.087 130.5)
XYZxyz(3.2272, 4.8158, 1.0760)
Luminance0.0482 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C450B #240B45
analogous
#45410B #2C450B #0F450B
triadic
#2C450B #0B2C45 #450B2C
tetradic
#2C450B #0B4541 #240B45 #450B0F
square
#2C450B #0B4541 #240B45 #450B0F
split-complementary
#2C450B #0B0F45 #410B45
monochromatic
#111A04 #111A04 #2C450B #4E7A13 #6FAF1C

Accessibility & contrast

On white

10.70
#2C450B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2C450B
10.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C450B#FFFFFF#000000##FFFFFF
##2C450B1.0010.701.9610.70
#FFFFFF10.701.0021.001.00
#0000001.9621.001.0021.00
##FFFFFF10.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2c450b;
/* rgb */ color: rgb(44, 69, 11);
/* oklch */ color: oklch(35.7% 0.087 130.5);
Tailwind
colors: {
  custom: {
    50: '#68794f',
    500: '#2c450b',
    950: '#000000',
  },
}
SCSS
$custom: #2c450b;
$custom-light: #68794f;
$custom-dark: #000000;
JSON
{
  "hex": "#2c450b",
  "rgb": {
    "r": 44,
    "g": 69,
    "b": 11
  },
  "hsl": {
    "h": 85.862,
    "s": 72.5,
    "l": 15.686
  },
  "oklch": {
    "l": 0.35708,
    "c": 0.08746,
    "h": 130.5
  },
  "luminance": 0.04816
}

Semantic roles & 50–950 ramp

primary
#2C450B
secondary
#502A81
accent
#39EF87
background
#F6F7F4
surface
#EBEDE7
border
#C6C8C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2C450B

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

Preview Lab → · Contrast checker → · Palette generator →

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