#28480D#28480D

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

Color values

HEX#28480D
RGBrgb(40, 72, 13)
HSLhsl(93, 69%, 17%)
HSVhsv(93, 82%, 28%)
CMYKcmyk(44.4%, 0%, 81.9%, 71.8%)
CIE-LABlab(27.06, -23.06, 29.78)
CIE-LCHlch(27.06, 37.67, 127.75°)
OKLaboklab(36.35% -0.0647 0.0668)
OKLCHoklch(36.35% 0.093 134.1)
XYZxyz(3.2650, 5.1147, 1.1959)
Luminance0.0512 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28480D #2D0D48
analogous
#46480D #28480D #0D480F
triadic
#28480D #0D2848 #480D28
tetradic
#28480D #0D4648 #2D0D48 #480F0D
square
#28480D #0D4648 #2D0D48 #480F0D
split-complementary
#28480D #0F0D48 #480D46
monochromatic
#0E1A05 #0E1A05 #28480D #457C16 #62B020

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28480D#FFFFFF#000000##FFFFFF
##28480D1.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)
#4B4203
Deuteranopia (green-blind)
#473F13
Tritanopia (blue-blind)
#28453D
Achromatopsia (no color)
#404040

Design tokens & code

CSS
--color: #28480d;
/* rgb */ color: rgb(40, 72, 13);
/* oklch */ color: oklch(36.3% 0.093 134.1);
Tailwind
colors: {
  custom: {
    50: '#657b50',
    500: '#28480d',
    950: '#000000',
  },
}
SCSS
$custom: #28480d;
$custom-light: #657b50;
$custom-dark: #000000;
JSON
{
  "hex": "#28480d",
  "rgb": {
    "r": 40,
    "g": 72,
    "b": 13
  },
  "hsl": {
    "h": 92.542,
    "s": 69.412,
    "l": 16.667
  },
  "oklch": {
    "l": 0.36347,
    "c": 0.09296,
    "h": 134.1
  },
  "luminance": 0.05115
}

Semantic roles & 50–950 ramp

primary
#28480D
secondary
#5C2D83
accent
#3CEC9B
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060902
muted
#7A7B78

Preview Lab

Preview with #28480D

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

Preview Lab → · Contrast checker → · Palette generator →

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