#2C451C#2C451C

#2C451C is a dark, moderate yellow-green. Relative luminance 0.049; OKLCH L 35.9% C 0.072 H 134.6°. Best body text is #FFFFFF at 10.63:1 contrast (WCAG AA passes).

Color values

HEX#2C451C
RGBrgb(44, 69, 28)
HSLhsl(97, 42%, 19%)
HSVhsv(97, 59%, 27%)
CMYKcmyk(36.2%, 0%, 59.4%, 72.9%)
CIE-LABlab(26.38, -18.29, 21.54)
CIE-LCHlch(26.38, 28.26, 130.34°)
OKLaboklab(35.91% -0.0506 0.0512)
OKLCHoklch(35.91% 0.072 134.6)
XYZxyz(3.3764, 4.8754, 1.8615)
Luminance0.0488 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C451C #351C45
analogous
#41451C #2C451C #1C4521
triadic
#2C451C #1C2C45 #451C2C
tetradic
#2C451C #1C4145 #351C45 #45211C
square
#2C451C #1C4145 #351C45 #45211C
split-complementary
#2C451C #211C45 #451C41
monochromatic
#0E1609 #10190A #2C451C #48712E #649C3F

Accessibility & contrast

On white

10.63
#2C451C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.98
#2C451C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C451C
10.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C451C#FFFFFF#000000##FFFFFF
##2C451C1.0010.631.9810.63
#FFFFFF10.631.0021.001.00
#0000001.9821.001.0021.00
##FFFFFF10.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#484018
Deuteranopia (green-blind)
#443E1F
Tritanopia (blue-blind)
#2C423C
Achromatopsia (no color)
#3E3E3E

Design tokens & code

CSS
--color: #2c451c;
/* rgb */ color: rgb(44, 69, 28);
/* oklch */ color: oklch(35.9% 0.072 134.6);
Tailwind
colors: {
  custom: {
    50: '#677959',
    500: '#2c451c',
    950: '#000000',
  },
}
SCSS
$custom: #2c451c;
$custom-light: #677959;
$custom-dark: #000000;
JSON
{
  "hex": "#2c451c",
  "rgb": {
    "r": 44,
    "g": 69,
    "b": 28
  },
  "hsl": {
    "h": 96.585,
    "s": 42.268,
    "l": 19.02
  },
  "oklch": {
    "l": 0.35905,
    "c": 0.07201,
    "h": 134.6
  },
  "luminance": 0.04876
}

Semantic roles & 50–950 ramp

primary
#2C451C
secondary
#65427A
accent
#56D2A2
background
#F6F7F5
surface
#EBEDE9
border
#C6C8C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2C451C

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

Preview Lab → · Contrast checker → · Palette generator →

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