#8D9028#8D9028

#8D9028 is a light, vivid yellow. Relative luminance 0.258; OKLCH L 63.1% C 0.123 H 111.1°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#8D9028
RGBrgb(141, 144, 40)
HSLhsl(62, 57%, 36%)
HSVhsv(62, 72%, 56%)
CMYKcmyk(2.1%, 0%, 72.2%, 43.5%)
CIE-LABlab(57.81, -14.25, 51.77)
CIE-LCHlch(57.81, 53.70, 105.39°)
OKLaboklab(63.14% -0.0443 0.1149)
OKLCHoklch(63.14% 0.123 111.1)
XYZxyz(21.3415, 25.7630, 5.8556)
Luminance0.2576 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9028 #2B2890
analogous
#905F28 #8D9028 #599028
triadic
#8D9028 #288D90 #90288D
tetradic
#8D9028 #28905F #2B2890 #902859
square
#8D9028 #28905F #2B2890 #902859
split-complementary
#8D9028 #285990 #5F2890
monochromatic
#2F300D #5E601B #8D9028 #BCC035 #CFD360

Accessibility & contrast

On white

3.41
#8D9028 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#8D9028 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9028
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9028#FFFFFF#000000##000000
##8D90281.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8916
Deuteranopia (green-blind)
#9C8C30
Tritanopia (blue-blind)
#97877C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8d9028;
/* rgb */ color: rgb(141, 144, 40);
/* oklch */ color: oklch(63.1% 0.123 111.1);
Tailwind
colors: {
  custom: {
    50: '#b1b069',
    500: '#8d9028',
    950: '#000000',
  },
}
SCSS
$custom: #8d9028;
$custom-light: #b1b069;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9028",
  "rgb": {
    "r": 141,
    "g": 144,
    "b": 40
  },
  "hsl": {
    "h": 61.731,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.63141,
    "c": 0.1232,
    "h": 111.1
  },
  "luminance": 0.25762
}

Semantic roles & 50–950 ramp

primary
#8D9028
secondary
#5E5CB8
accent
#48E04C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8D9028

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

Preview Lab → · Contrast checker → · Palette generator →

#8D9028 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva