#2C481B#2C481B

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

Color values

HEX#2C481B
RGBrgb(44, 72, 27)
HSLhsl(97, 45%, 19%)
HSVhsv(97, 63%, 28%)
CMYKcmyk(38.9%, 0%, 62.5%, 71.8%)
CIE-LABlab(27.43, -20.02, 23.35)
CIE-LCHlch(27.43, 30.76, 130.60°)
OKLaboklab(36.76% -0.0554 0.0551)
OKLCHoklch(36.76% 0.078 135.2)
XYZxyz(3.5538, 5.2492, 1.8626)
Luminance0.0525 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2C481B #371B48
analogous
#43481B #2C481B #1B4820
triadic
#2C481B #1B2C48 #481B2C
tetradic
#2C481B #1B4348 #371B48 #48201B
square
#2C481B #1B4348 #371B48 #48201B
split-complementary
#2C481B #201B48 #481B43
monochromatic
#0E1608 #111B0A #2C481B #47752C #62A13C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2C481B#FFFFFF#000000##FFFFFF
##2C481B1.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)
#4B4217
Deuteranopia (green-blind)
#47401E
Tritanopia (blue-blind)
#2C453E
Achromatopsia (no color)
#414141

Design tokens & code

CSS
--color: #2c481b;
/* rgb */ color: rgb(44, 72, 27);
/* oklch */ color: oklch(36.8% 0.078 135.2);
Tailwind
colors: {
  custom: {
    50: '#677b59',
    500: '#2c481b',
    950: '#000000',
  },
}
SCSS
$custom: #2c481b;
$custom-light: #677b59;
$custom-dark: #000000;
JSON
{
  "hex": "#2c481b",
  "rgb": {
    "r": 44,
    "g": 72,
    "b": 27
  },
  "hsl": {
    "h": 97.333,
    "s": 45.455,
    "l": 19.412
  },
  "oklch": {
    "l": 0.3676,
    "c": 0.07813,
    "h": 135.2
  },
  "luminance": 0.05249
}

Semantic roles & 50–950 ramp

primary
#2C481B
secondary
#67417E
accent
#53D5A4
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2C481B

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

Preview Lab → · Contrast checker → · Palette generator →

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