#2B480C#2B480C

#2B480C is a dark, moderate yellow-green. Relative luminance 0.052; OKLCH L 36.5% C 0.092 H 132.3°. Best body text is #FFFFFF at 10.32:1 contrast (WCAG AA passes).

Color values

HEX#2B480C
RGBrgb(43, 72, 12)
HSLhsl(89, 71%, 16%)
HSVhsv(89, 83%, 28%)
CMYKcmyk(40.3%, 0%, 83.3%, 71.8%)
CIE-LABlab(27.23, -21.90, 30.41)
CIE-LCHlch(27.23, 37.48, 125.76°)
OKLaboklab(36.53% -0.0618 0.0679)
OKLCHoklch(36.53% 0.092 132.3)
XYZxyz(3.3799, 5.1747, 1.1685)
Luminance0.0517 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B480C #290C48
analogous
#48470C #2B480C #0D480C
triadic
#2B480C #0C2B48 #480C2B
tetradic
#2B480C #0C4847 #290C48 #480C0D
square
#2B480C #0C4847 #290C48 #480C0D
split-complementary
#2B480C #0C0D48 #470C48
monochromatic
#101A04 #101A04 #2B480C #4A7C15 #6AB11D

Accessibility & contrast

On white

10.32
#2B480C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.04
#2B480C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #2B480C
10.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B480C#FFFFFF#000000##FFFFFF
##2B480C1.0010.322.0410.32
#FFFFFF10.321.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4202
Deuteranopia (green-blind)
#474012
Tritanopia (blue-blind)
#2C453D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2b480c;
/* rgb */ color: rgb(43, 72, 12);
/* oklch */ color: oklch(36.5% 0.092 132.3);
Tailwind
colors: {
  custom: {
    50: '#677b50',
    500: '#2b480c',
    950: '#000000',
  },
}
SCSS
$custom: #2b480c;
$custom-light: #677b50;
$custom-dark: #000000;
JSON
{
  "hex": "#2b480c",
  "rgb": {
    "r": 43,
    "g": 72,
    "b": 12
  },
  "hsl": {
    "h": 89,
    "s": 71.429,
    "l": 16.471
  },
  "oklch": {
    "l": 0.36529,
    "c": 0.0918,
    "h": 132.3
  },
  "luminance": 0.05175
}

Semantic roles & 50–950 ramp

primary
#2B480C
secondary
#562C84
accent
#3AEE91
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2B480C

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

Preview Lab → · Contrast checker → · Palette generator →

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