#28530C#28530C

#28530C is a dark, moderate yellow-green. Relative luminance 0.067; OKLCH L 39.6% C 0.109 H 136.3°. Best body text is #FFFFFF at 9.00:1 contrast (WCAG AA passes).

Color values

HEX#28530C
RGBrgb(40, 83, 12)
HSLhsl(96, 75%, 19%)
HSVhsv(96, 86%, 33%)
CMYKcmyk(51.8%, 0%, 85.5%, 67.5%)
CIE-LABlab(31.03, -28.29, 33.99)
CIE-LCHlch(31.03, 44.23, 129.77°)
OKLaboklab(39.6% -0.0788 0.0754)
OKLCHoklch(39.6% 0.109 136.3)
XYZxyz(4.0346, 6.6639, 1.4214)
Luminance0.0666 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28530C #370C53
analogous
#4B530C #28530C #0C5313
triadic
#28530C #0C2853 #530C28
tetradic
#28530C #0C4B53 #370C53 #53130C
square
#28530C #0C4B53 #370C53 #53130C
split-complementary
#28530C #130C53 #530C4B
monochromatic
#0D1B04 #0E1E04 #28530C #428814 #5CBE1B

Accessibility & contrast

On white

9.00
#28530C on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.33
#28530C on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #28530C
9.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##28530C#FFFFFF#000000##FFFFFF
##28530C1.009.002.339.00
#FFFFFF9.001.0021.001.00
#0000002.3321.001.0021.00
##FFFFFF9.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#564B00
Deuteranopia (green-blind)
#514814
Tritanopia (blue-blind)
#265046
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #28530c;
/* rgb */ color: rgb(40, 83, 12);
/* oklch */ color: oklch(39.6% 0.109 136.3);
Tailwind
colors: {
  custom: {
    50: '#678452',
    500: '#28530c',
    950: '#000000',
  },
}
SCSS
$custom: #28530c;
$custom-light: #678452;
$custom-dark: #000000;
JSON
{
  "hex": "#28530c",
  "rgb": {
    "r": 40,
    "g": 83,
    "b": 12
  },
  "hsl": {
    "h": 96.338,
    "s": 74.737,
    "l": 18.627
  },
  "oklch": {
    "l": 0.39602,
    "c": 0.1091,
    "h": 136.3
  },
  "luminance": 0.06664
}

Semantic roles & 50–950 ramp

primary
#28530C
secondary
#682D8E
accent
#36F1A8
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060B02
muted
#7A7C78

Preview Lab

Preview with #28530C

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

Preview Lab → · Contrast checker → · Palette generator →

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