#2B481C#2B481C

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

Color values

HEX#2B481C
RGBrgb(43, 72, 28)
HSLhsl(100, 44%, 20%)
HSVhsv(100, 61%, 28%)
CMYKcmyk(40.3%, 0%, 61.1%, 71.8%)
CIE-LABlab(27.39, -20.30, 22.72)
CIE-LCHlch(27.39, 30.47, 131.77°)
OKLaboklab(36.71% -0.056 0.0538)
OKLCHoklch(36.71% 0.078 136.1)
XYZxyz(3.5231, 5.2320, 1.9226)
Luminance0.0523 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B481C #391C48
analogous
#41481C #2B481C #1C4823
triadic
#2B481C #1C2B48 #481C2B
tetradic
#2B481C #1C4148 #391C48 #48231C
square
#2B481C #1C4148 #391C48 #48231C
split-complementary
#2B481C #231C48 #481C41
monochromatic
#0D1609 #111C0B #2B481C #45742D #60A03E

Accessibility & contrast

On white

10.26
#2B481C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B481C
10.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B481C#FFFFFF#000000##FFFFFF
##2B481C1.0010.262.0510.26
#FFFFFF10.261.0021.001.00
#0000002.0521.001.0021.00
##FFFFFF10.261.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #2b481c;
/* rgb */ color: rgb(43, 72, 28);
/* oklch */ color: oklch(36.7% 0.078 136.1);
Tailwind
colors: {
  custom: {
    50: '#667b59',
    500: '#2b481c',
    950: '#000000',
  },
}
SCSS
$custom: #2b481c;
$custom-light: #667b59;
$custom-dark: #000000;
JSON
{
  "hex": "#2b481c",
  "rgb": {
    "r": 43,
    "g": 72,
    "b": 28
  },
  "hsl": {
    "h": 99.545,
    "s": 44,
    "l": 19.608
  },
  "oklch": {
    "l": 0.3671,
    "c": 0.07769,
    "h": 136.1
  },
  "luminance": 0.05232
}

Semantic roles & 50–950 ramp

primary
#2B481C
secondary
#69427D
accent
#54D4A8
background
#F6F7F5
surface
#EBEEE9
border
#C6C9C5
text
#060903
muted
#7A7B78

Preview Lab

Preview with #2B481C

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

Preview Lab → · Contrast checker → · Palette generator →

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