#2C481C#2C481C

#2C481C is a dark, moderate yellow-green. Relative luminance 0.053; OKLCH L 36.8% C 0.077 H 135.5°. Best body text is #FFFFFF at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#2C481C
RGBrgb(44, 72, 28)
HSLhsl(98, 44%, 20%)
HSVhsv(98, 61%, 28%)
CMYKcmyk(38.9%, 0%, 61.1%, 71.8%)
CIE-LABlab(27.45, -19.89, 22.81)
CIE-LCHlch(27.45, 30.26, 131.09°)
OKLaboklab(36.78% -0.055 0.054)
OKLCHoklch(36.78% 0.077 135.5)
XYZxyz(3.5656, 5.2539, 1.9246)
Luminance0.0525 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C481C #381C48
analogous
#42481C #2C481C #1C4822
triadic
#2C481C #1C2C48 #481C2C
tetradic
#2C481C #1C4248 #381C48 #48221C
square
#2C481C #1C4248 #381C48 #48221C
split-complementary
#2C481C #221C48 #481C42
monochromatic
#0D1609 #111C0B #2C481C #47742D #62A03E

Accessibility & contrast

On white

10.24
#2C481C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.05
#2C481C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2C481C
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2C481C#FFFFFF#000000##FFFFFF
##2C481C1.0010.242.0510.24
#FFFFFF10.241.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4218
Deuteranopia (green-blind)
#47401F
Tritanopia (blue-blind)
#2B453E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2c481c;
/* rgb */ color: rgb(44, 72, 28);
/* oklch */ color: oklch(36.8% 0.077 135.5);
Tailwind
colors: {
  custom: {
    50: '#677b59',
    500: '#2c481c',
    950: '#000000',
  },
}
SCSS
$custom: #2c481c;
$custom-light: #677b59;
$custom-dark: #000000;
JSON
{
  "hex": "#2c481c",
  "rgb": {
    "r": 44,
    "g": 72,
    "b": 28
  },
  "hsl": {
    "h": 98.182,
    "s": 44,
    "l": 19.608
  },
  "oklch": {
    "l": 0.36775,
    "c": 0.07706,
    "h": 135.5
  },
  "luminance": 0.05254
}

Semantic roles & 50–950 ramp

primary
#2C481C
secondary
#68427D
accent
#54D4A5
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2C481C

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

Preview Lab → · Contrast checker → · Palette generator →

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