#28550F#28550F

#28550F is a dark, moderate yellow-green. Relative luminance 0.070; OKLCH L 40.2% C 0.110 H 137.0°. Best body text is #FFFFFF at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#28550F
RGBrgb(40, 85, 15)
HSLhsl(99, 70%, 20%)
HSVhsv(99, 82%, 33%)
CMYKcmyk(52.9%, 0%, 82.4%, 66.7%)
CIE-LABlab(31.77, -28.99, 33.60)
CIE-LCHlch(31.77, 44.37, 130.78°)
OKLaboklab(40.21% -0.0805 0.0751)
OKLCHoklch(40.21% 0.11 137)
XYZxyz(4.2097, 6.9823, 1.5777)
Luminance0.0698 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28550F #3C0F55
analogous
#4B550F #28550F #0F5519
triadic
#28550F #0F2855 #550F28
tetradic
#28550F #0F4B55 #3C0F55 #55190F
square
#28550F #0F4B55 #3C0F55 #55190F
split-complementary
#28550F #190F55 #550F4B
monochromatic
#0C1A05 #102106 #28550F #408918 #59BD21

Accessibility & contrast

On white

8.76
#28550F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.40
#28550F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28550F
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28550F#FFFFFF#000000##FFFFFF
##28550F1.008.762.408.76
#FFFFFF8.761.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D02
Deuteranopia (green-blind)
#524916
Tritanopia (blue-blind)
#255248
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #28550f;
/* rgb */ color: rgb(40, 85, 15);
/* oklch */ color: oklch(40.2% 0.110 137.0);
Tailwind
colors: {
  custom: {
    50: '#678553',
    500: '#28550f',
    950: '#000000',
  },
}
SCSS
$custom: #28550f;
$custom-light: #678553;
$custom-dark: #000000;
JSON
{
  "hex": "#28550f",
  "rgb": {
    "r": 40,
    "g": 85,
    "b": 15
  },
  "hsl": {
    "h": 98.571,
    "s": 70,
    "l": 19.608
  },
  "oklch": {
    "l": 0.40214,
    "c": 0.11008,
    "h": 137
  },
  "luminance": 0.06983
}

Semantic roles & 50–950 ramp

primary
#28550F
secondary
#6D318F
accent
#3BEDAD
background
#F6F8F4
surface
#EBEFE8
border
#C6CAC4
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #28550F

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

Preview Lab → · Contrast checker → · Palette generator →

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