#28530F#28530F

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

Color values

HEX#28530F
RGBrgb(40, 83, 15)
HSLhsl(98, 69%, 19%)
HSVhsv(98, 82%, 33%)
CMYKcmyk(51.8%, 0%, 81.9%, 67.5%)
CIE-LABlab(31.05, -28.09, 32.90)
CIE-LCHlch(31.05, 43.26, 130.49°)
OKLaboklab(39.62% -0.0781 0.0736)
OKLCHoklch(39.62% 0.107 136.7)
XYZxyz(4.0544, 6.6718, 1.5260)
Luminance0.0667 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#28530F #3A0F53
analogous
#4A530F #28530F #0F5318
triadic
#28530F #0F2853 #530F28
tetradic
#28530F #0F4A53 #3A0F53 #53180F
square
#28530F #0F4A53 #3A0F53 #53180F
split-complementary
#28530F #180F53 #530F4A
monochromatic
#0C1A05 #0F1F06 #28530F #418718 #5ABB22

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##28530F#FFFFFF#000000##FFFFFF
##28530F1.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)
#564B03
Deuteranopia (green-blind)
#504816
Tritanopia (blue-blind)
#265046
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #28530f;
/* rgb */ color: rgb(40, 83, 15);
/* oklch */ color: oklch(39.6% 0.107 136.7);
Tailwind
colors: {
  custom: {
    50: '#678453',
    500: '#28530f',
    950: '#000000',
  },
}
SCSS
$custom: #28530f;
$custom-light: #678453;
$custom-dark: #000000;
JSON
{
  "hex": "#28530f",
  "rgb": {
    "r": 40,
    "g": 83,
    "b": 15
  },
  "hsl": {
    "h": 97.941,
    "s": 69.388,
    "l": 19.216
  },
  "oklch": {
    "l": 0.39623,
    "c": 0.10732,
    "h": 136.7
  },
  "luminance": 0.06672
}

Semantic roles & 50–950 ramp

primary
#28530F
secondary
#6B318D
accent
#3CECAB
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060B03
muted
#7A7C78

Preview Lab

Preview with #28530F

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

Preview Lab → · Contrast checker → · Palette generator →

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