#28500C#28500C

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

Color values

HEX#28500C
RGBrgb(40, 80, 12)
HSLhsl(95, 74%, 18%)
HSVhsv(95, 85%, 31%)
CMYKcmyk(50%, 0%, 85%, 68.6%)
CIE-LABlab(29.95, -26.93, 32.97)
CIE-LCHlch(29.95, 42.57, 129.24°)
OKLaboklab(38.71% -0.0752 0.0733)
OKLCHoklch(38.71% 0.105 135.7)
XYZxyz(3.8100, 6.2147, 1.3466)
Luminance0.0621 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28500C #340C50
analogous
#4A500C #28500C #0C5012
triadic
#28500C #0C2850 #500C28
tetradic
#28500C #0C4A50 #340C50 #50120C
square
#28500C #0C4A50 #340C50 #50120C
split-complementary
#28500C #120C50 #500C4A
monochromatic
#0D1B04 #0D1B04 #28500C #438514 #5DBA1C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28500C#FFFFFF#000000##FFFFFF
##28500C1.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)
#534900
Deuteranopia (green-blind)
#4E4514
Tritanopia (blue-blind)
#264D43
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #28500c;
/* rgb */ color: rgb(40, 80, 12);
/* oklch */ color: oklch(38.7% 0.105 135.7);
Tailwind
colors: {
  custom: {
    50: '#678151',
    500: '#28500c',
    950: '#000000',
  },
}
SCSS
$custom: #28500c;
$custom-light: #678151;
$custom-dark: #000000;
JSON
{
  "hex": "#28500c",
  "rgb": {
    "r": 40,
    "g": 80,
    "b": 12
  },
  "hsl": {
    "h": 95.294,
    "s": 73.913,
    "l": 18.039
  },
  "oklch": {
    "l": 0.38713,
    "c": 0.10498,
    "h": 135.7
  },
  "luminance": 0.06215
}

Semantic roles & 50–950 ramp

primary
#28500C
secondary
#642C8B
accent
#37F1A4
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #28500C

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

Preview Lab → · Contrast checker → · Palette generator →

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