#28480F#28480F

#28480F is a dark, moderate yellow-green. Relative luminance 0.051; OKLCH L 36.4% C 0.092 H 134.4°. Best body text is #FFFFFF at 10.38:1 contrast (WCAG AA passes).

Color values

HEX#28480F
RGBrgb(40, 72, 15)
HSLhsl(94, 66%, 17%)
HSVhsv(94, 79%, 28%)
CMYKcmyk(44.4%, 0%, 79.2%, 71.8%)
CIE-LABlab(27.07, -22.90, 28.94)
CIE-LCHlch(27.07, 36.91, 128.36°)
OKLaboklab(36.36% -0.064 0.0654)
OKLCHoklch(36.36% 0.092 134.4)
XYZxyz(3.2786, 5.1202, 1.2674)
Luminance0.0512 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28480F #2F0F48
analogous
#45480F #28480F #0F4813
triadic
#28480F #0F2848 #480F28
tetradic
#28480F #0F4548 #2F0F48 #48130F
square
#28480F #0F4548 #2F0F48 #48130F
split-complementary
#28480F #130F48 #480F45
monochromatic
#0E1905 #0E1905 #28480F #447B1A #60AD24

Accessibility & contrast

On white

10.38
#28480F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.02
#28480F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28480F
10.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28480F#FFFFFF#000000##FFFFFF
##28480F1.0010.382.0210.38
#FFFFFF10.381.0021.001.00
#0000002.0221.001.0021.00
##FFFFFF10.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4B4206
Deuteranopia (green-blind)
#473F14
Tritanopia (blue-blind)
#28453D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #28480f;
/* rgb */ color: rgb(40, 72, 15);
/* oklch */ color: oklch(36.4% 0.092 134.4);
Tailwind
colors: {
  custom: {
    50: '#657b51',
    500: '#28480f',
    950: '#000000',
  },
}
SCSS
$custom: #28480f;
$custom-light: #657b51;
$custom-dark: #000000;
JSON
{
  "hex": "#28480f",
  "rgb": {
    "r": 40,
    "g": 72,
    "b": 15
  },
  "hsl": {
    "h": 93.684,
    "s": 65.517,
    "l": 17.059
  },
  "oklch": {
    "l": 0.36364,
    "c": 0.09151,
    "h": 134.4
  },
  "luminance": 0.0512
}

Semantic roles & 50–950 ramp

primary
#28480F
secondary
#5E3082
accent
#3FE89E
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #28480F

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

Preview Lab → · Contrast checker → · Palette generator →

#28480F Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva