#28500F#28500F

#28500F is a dark, moderate yellow-green. Relative luminance 0.062; OKLCH L 38.7% C 0.103 H 136.2°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#28500F
RGBrgb(40, 80, 15)
HSLhsl(97, 68%, 19%)
HSVhsv(97, 81%, 31%)
CMYKcmyk(50%, 0%, 81.3%, 68.6%)
CIE-LABlab(29.97, -26.72, 31.84)
CIE-LCHlch(29.97, 41.56, 130.01°)
OKLaboklab(38.74% -0.0744 0.0714)
OKLCHoklch(38.74% 0.103 136.2)
XYZxyz(3.8299, 6.2227, 1.4511)
Luminance0.0622 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28500F #370F50
analogous
#48500F #28500F #0F5016
triadic
#28500F #0F2850 #500F28
tetradic
#28500F #0F4850 #370F50 #50160F
square
#28500F #0F4850 #370F50 #50160F
split-complementary
#28500F #160F50 #500F48
monochromatic
#0D1A05 #0E1C05 #28500F #428419 #5CB722

Accessibility & contrast

On white

9.36
#28500F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.24
#28500F on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28500F
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28500F#FFFFFF#000000##FFFFFF
##28500F1.009.362.249.36
#FFFFFF9.361.0021.001.00
#0000002.2421.001.0021.00
##FFFFFF9.361.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534904
Deuteranopia (green-blind)
#4E4516
Tritanopia (blue-blind)
#264D44
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #28500f;
/* rgb */ color: rgb(40, 80, 15);
/* oklch */ color: oklch(38.7% 0.103 136.2);
Tailwind
colors: {
  custom: {
    50: '#668153',
    500: '#28500f',
    950: '#000000',
  },
}
SCSS
$custom: #28500f;
$custom-light: #668153;
$custom-dark: #000000;
JSON
{
  "hex": "#28500f",
  "rgb": {
    "r": 40,
    "g": 80,
    "b": 15
  },
  "hsl": {
    "h": 96.923,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38736,
    "c": 0.10311,
    "h": 136.2
  },
  "luminance": 0.06223
}

Semantic roles & 50–950 ramp

primary
#28500F
secondary
#68318A
accent
#3DEBA8
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #28500F

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

Preview Lab → · Contrast checker → · Palette generator →

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