#28550E#28550E

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

Color values

HEX#28550E
RGBrgb(40, 85, 14)
HSLhsl(98, 72%, 19%)
HSVhsv(98, 84%, 33%)
CMYKcmyk(52.9%, 0%, 83.5%, 66.7%)
CIE-LABlab(31.76, -29.06, 33.97)
CIE-LCHlch(31.76, 44.70, 130.54°)
OKLaboklab(40.21% -0.0807 0.0757)
OKLCHoklch(40.21% 0.111 136.8)
XYZxyz(4.2027, 6.9795, 1.5411)
Luminance0.0698 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28550E #3B0E55
analogous
#4C550E #28550E #0E5518
triadic
#28550E #0E2855 #550E28
tetradic
#28550E #0E4C55 #3B0E55 #55180E
square
#28550E #0E4C55 #3B0E55 #55180E
split-complementary
#28550E #180E55 #550E4C
monochromatic
#0C1A04 #0F2005 #28550E #418A17 #59BE1F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28550E#FFFFFF#000000##FFFFFF
##28550E1.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)
#584D01
Deuteranopia (green-blind)
#524916
Tritanopia (blue-blind)
#255248
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #28550e;
/* rgb */ color: rgb(40, 85, 14);
/* oklch */ color: oklch(40.2% 0.111 136.8);
Tailwind
colors: {
  custom: {
    50: '#678553',
    500: '#28550e',
    950: '#000000',
  },
}
SCSS
$custom: #28550e;
$custom-light: #678553;
$custom-dark: #000000;
JSON
{
  "hex": "#28550e",
  "rgb": {
    "r": 40,
    "g": 85,
    "b": 14
  },
  "hsl": {
    "h": 98.028,
    "s": 71.717,
    "l": 19.412
  },
  "oklch": {
    "l": 0.40207,
    "c": 0.11068,
    "h": 136.8
  },
  "luminance": 0.0698
}

Semantic roles & 50–950 ramp

primary
#28550E
secondary
#6C308F
accent
#39EEAC
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #28550E

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

Preview Lab → · Contrast checker → · Palette generator →

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