#2B480F#2B480F

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

Color values

HEX#2B480F
RGBrgb(43, 72, 15)
HSLhsl(91, 66%, 17%)
HSVhsv(91, 79%, 28%)
CMYKcmyk(40.3%, 0%, 79.2%, 71.8%)
CIE-LABlab(27.25, -21.67, 29.17)
CIE-LCHlch(27.25, 36.34, 126.61°)
OKLaboklab(36.55% -0.0609 0.0658)
OKLCHoklch(36.55% 0.09 132.8)
XYZxyz(3.3998, 5.1827, 1.2731)
Luminance0.0518 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2B480F #2C0F48
analogous
#48480F #2B480F #0F480F
triadic
#2B480F #0F2B48 #480F2B
tetradic
#2B480F #0F4848 #2C0F48 #480F0F
square
#2B480F #0F4848 #2C0F48 #480F0F
split-complementary
#2B480F #0F0F48 #480F48
monochromatic
#0F1905 #0F1905 #2B480F #497B1A #67AD24

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##2B480F#FFFFFF#000000##FFFFFF
##2B480F1.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)
#4B4206
Deuteranopia (green-blind)
#474014
Tritanopia (blue-blind)
#2B453D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #2b480f;
/* rgb */ color: rgb(43, 72, 15);
/* oklch */ color: oklch(36.6% 0.090 132.8);
Tailwind
colors: {
  custom: {
    50: '#677b51',
    500: '#2b480f',
    950: '#000000',
  },
}
SCSS
$custom: #2b480f;
$custom-light: #677b51;
$custom-dark: #000000;
JSON
{
  "hex": "#2b480f",
  "rgb": {
    "r": 43,
    "g": 72,
    "b": 15
  },
  "hsl": {
    "h": 90.526,
    "s": 65.517,
    "l": 17.059
  },
  "oklch": {
    "l": 0.36554,
    "c": 0.08968,
    "h": 132.8
  },
  "luminance": 0.05183
}

Semantic roles & 50–950 ramp

primary
#2B480F
secondary
#5A3082
accent
#3FE895
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #2B480F

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

Preview Lab → · Contrast checker → · Palette generator →

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