#2B480A#2B480A

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

Color values

HEX#2B480A
RGBrgb(43, 72, 10)
HSLhsl(88, 76%, 16%)
HSVhsv(88, 86%, 28%)
CMYKcmyk(40.3%, 0%, 86.1%, 71.8%)
CIE-LABlab(27.21, -22.03, 31.17)
CIE-LCHlch(27.21, 38.17, 125.25°)
OKLaboklab(36.51% -0.0623 0.0691)
OKLCHoklch(36.51% 0.093 132.1)
XYZxyz(3.3684, 5.1701, 1.1076)
Luminance0.0517 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B480A #270A48
analogous
#48460A #2B480A #0C480A
triadic
#2B480A #0A2B48 #480A2B
tetradic
#2B480A #0A4846 #270A48 #480A0C
square
#2B480A #0A4846 #270A48 #480A0C
split-complementary
#2B480A #0A0C48 #460A48
monochromatic
#101B04 #101B04 #2B480A #4B7E11 #6BB319

Accessibility & contrast

On white

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

On black

2.03
#2B480A on #000000
AA ✗AA large ✗AAA ✗

Best text color

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

Contrast matrix

fg \ bg##2B480A#FFFFFF#000000##FFFFFF
##2B480A1.0010.322.0310.32
#FFFFFF10.321.0021.001.00
#0000002.0321.001.0021.00
##FFFFFF10.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4200
Deuteranopia (green-blind)
#484011
Tritanopia (blue-blind)
#2C453C
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2b480a;
/* rgb */ color: rgb(43, 72, 10);
/* oklch */ color: oklch(36.5% 0.093 132.1);
Tailwind
colors: {
  custom: {
    50: '#687b4f',
    500: '#2b480a',
    950: '#000000',
  },
}
SCSS
$custom: #2b480a;
$custom-light: #687b4f;
$custom-dark: #000000;
JSON
{
  "hex": "#2b480a",
  "rgb": {
    "r": 43,
    "g": 72,
    "b": 10
  },
  "hsl": {
    "h": 88.065,
    "s": 75.61,
    "l": 16.078
  },
  "oklch": {
    "l": 0.36514,
    "c": 0.09306,
    "h": 132.1
  },
  "luminance": 0.0517
}

Semantic roles & 50–950 ramp

primary
#2B480A
secondary
#542985
accent
#36F28E
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2B480A

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

Preview Lab → · Contrast checker → · Palette generator →

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