#8F9028#8F9028

#8F9028 is a light, vivid yellow. Relative luminance 0.259; OKLCH L 63.3% C 0.123 H 110.0°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#8F9028
RGBrgb(143, 144, 40)
HSLhsl(61, 57%, 36%)
HSVhsv(61, 72%, 56%)
CMYKcmyk(0.7%, 0%, 72.2%, 43.5%)
CIE-LABlab(57.98, -13.36, 51.99)
CIE-LCHlch(57.98, 53.68, 104.41°)
OKLaboklab(63.32% -0.042 0.1153)
OKLCHoklch(63.32% 0.123 110)
XYZxyz(21.6847, 25.9400, 5.8717)
Luminance0.2594 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9028 #292890
analogous
#905D28 #8F9028 #5B9028
triadic
#8F9028 #288F90 #90288F
tetradic
#8F9028 #28905D #292890 #90285B
square
#8F9028 #28905D #292890 #90285B
split-complementary
#8F9028 #285B90 #5D2890
monochromatic
#30300D #5F601B #8F9028 #BFC035 #D2D360

Accessibility & contrast

On white

3.39
#8F9028 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#8F9028 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F9028
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9028#FFFFFF#000000##000000
##8F90281.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A16
Deuteranopia (green-blind)
#9D8D30
Tritanopia (blue-blind)
#99877C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8f9028;
/* rgb */ color: rgb(143, 144, 40);
/* oklch */ color: oklch(63.3% 0.123 110.0);
Tailwind
colors: {
  custom: {
    50: '#b3b069',
    500: '#8f9028',
    950: '#000000',
  },
}
SCSS
$custom: #8f9028;
$custom-light: #b3b069;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9028",
  "rgb": {
    "r": 143,
    "g": 144,
    "b": 40
  },
  "hsl": {
    "h": 60.577,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.63317,
    "c": 0.12274,
    "h": 110
  },
  "luminance": 0.25939
}

Semantic roles & 50–950 ramp

primary
#8F9028
secondary
#5C5CB8
accent
#48E049
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8F9028

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

Preview Lab → · Contrast checker → · Palette generator →

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