#2B480E#2B480E

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

Color values

HEX#2B480E
RGBrgb(43, 72, 14)
HSLhsl(90, 67%, 17%)
HSVhsv(90, 81%, 28%)
CMYKcmyk(40.3%, 0%, 80.6%, 71.8%)
CIE-LABlab(27.24, -21.75, 29.60)
CIE-LCHlch(27.24, 36.73, 126.31°)
OKLaboklab(36.55% -0.0612 0.0665)
OKLCHoklch(36.55% 0.09 132.6)
XYZxyz(3.3928, 5.1799, 1.2364)
Luminance0.0518 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B480E #2B0E48
analogous
#48480E #2B480E #0E480E
triadic
#2B480E #0E2B48 #480E2B
tetradic
#2B480E #0E4848 #2B0E48 #480E0E
square
#2B480E #0E4848 #2B0E48 #480E0E
split-complementary
#2B480E #0E0E48 #480E48
monochromatic
#0F1A05 #0F1A05 #2B480E #4A7B18 #68AE22

Accessibility & contrast

On white

10.31
#2B480E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #2B480E
10.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2B480E#FFFFFF#000000##FFFFFF
##2B480E1.0010.312.0410.31
#FFFFFF10.311.0021.001.00
#0000002.0421.001.0021.00
##FFFFFF10.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4205
Deuteranopia (green-blind)
#474014
Tritanopia (blue-blind)
#2B453D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2b480e;
/* rgb */ color: rgb(43, 72, 14);
/* oklch */ color: oklch(36.5% 0.090 132.6);
Tailwind
colors: {
  custom: {
    50: '#677b51',
    500: '#2b480e',
    950: '#000000',
  },
}
SCSS
$custom: #2b480e;
$custom-light: #677b51;
$custom-dark: #000000;
JSON
{
  "hex": "#2b480e",
  "rgb": {
    "r": 43,
    "g": 72,
    "b": 14
  },
  "hsl": {
    "h": 90,
    "s": 67.442,
    "l": 16.863
  },
  "oklch": {
    "l": 0.36545,
    "c": 0.09042,
    "h": 132.6
  },
  "luminance": 0.0518
}

Semantic roles & 50–950 ramp

primary
#2B480E
secondary
#592F83
accent
#3DEA94
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2B480E

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

Preview Lab → · Contrast checker → · Palette generator →

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