#28550C#28550C

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

Color values

HEX#28550C
RGBrgb(40, 85, 12)
HSLhsl(97, 75%, 19%)
HSVhsv(97, 86%, 33%)
CMYKcmyk(52.9%, 0%, 85.9%, 66.7%)
CIE-LABlab(31.75, -29.19, 34.67)
CIE-LCHlch(31.75, 45.32, 130.09°)
OKLaboklab(40.19% -0.0812 0.0768)
OKLCHoklch(40.19% 0.112 136.6)
XYZxyz(4.1898, 6.9744, 1.4732)
Luminance0.0698 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28550C #390C55
analogous
#4D550C #28550C #0C5514
triadic
#28550C #0C2855 #550C28
tetradic
#28550C #0C4D55 #390C55 #55140C
square
#28550C #0C4D55 #390C55 #55140C
split-complementary
#28550C #140C55 #550C4D
monochromatic
#0D1B04 #0F1F04 #28550C #418B14 #5AC01B

Accessibility & contrast

On white

8.77
#28550C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #28550C
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28550C#FFFFFF#000000##FFFFFF
##28550C1.008.772.408.77
#FFFFFF8.771.0021.001.00
#0000002.4021.001.0021.00
##FFFFFF8.771.0021.001.00

Color blindness preview

Protanopia (red-blind)
#584D00
Deuteranopia (green-blind)
#524914
Tritanopia (blue-blind)
#265248
Achromatopsia (no color)
#4B4B4B

Design tokens & code

CSS
--color: #28550c;
/* rgb */ color: rgb(40, 85, 12);
/* oklch */ color: oklch(40.2% 0.112 136.6);
Tailwind
colors: {
  custom: {
    50: '#678552',
    500: '#28550c',
    950: '#000000',
  },
}
SCSS
$custom: #28550c;
$custom-light: #678552;
$custom-dark: #000000;
JSON
{
  "hex": "#28550c",
  "rgb": {
    "r": 40,
    "g": 85,
    "b": 12
  },
  "hsl": {
    "h": 96.986,
    "s": 75.258,
    "l": 19.02
  },
  "oklch": {
    "l": 0.40193,
    "c": 0.11182,
    "h": 136.6
  },
  "luminance": 0.06975
}

Semantic roles & 50–950 ramp

primary
#28550C
secondary
#6A2D90
accent
#36F2AA
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060B02
muted
#7A7C78

Preview Lab

Preview with #28550C

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

Preview Lab → · Contrast checker → · Palette generator →

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