#8F9018#8F9018

#8F9018 is a light, vivid yellow. Relative luminance 0.259; OKLCH L 63.2% C 0.131 H 110.1°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#8F9018
RGBrgb(143, 144, 24)
HSLhsl(61, 71%, 33%)
HSVhsv(61, 83%, 56%)
CMYKcmyk(0.7%, 0%, 83.3%, 43.5%)
CIE-LABlab(57.90, -14.03, 57.14)
CIE-LCHlch(57.90, 58.83, 103.79°)
OKLaboklab(63.22% -0.0452 0.1233)
OKLCHoklch(63.22% 0.131 110.1)
XYZxyz(21.4666, 25.8528, 4.7233)
Luminance0.2585 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9018 #191890
analogous
#905518 #8F9018 #539018
triadic
#8F9018 #188F90 #90188F
tetradic
#8F9018 #189055 #191890 #901853
square
#8F9018 #189055 #191890 #901853
split-complementary
#8F9018 #185390 #551890
monochromatic
#272707 #5B5C0F #8F9018 #C3C421 #DEE043

Accessibility & contrast

On white

3.40
#8F9018 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#8F9018 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F9018
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9018#FFFFFF#000000##000000
##8F90181.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8900
Deuteranopia (green-blind)
#9D8D24
Tritanopia (blue-blind)
#9A867B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8f9018;
/* rgb */ color: rgb(143, 144, 24);
/* oklch */ color: oklch(63.2% 0.131 110.1);
Tailwind
colors: {
  custom: {
    50: '#b4b062',
    500: '#8f9018',
    950: '#000000',
  },
}
SCSS
$custom: #8f9018;
$custom-light: #b4b062;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9018",
  "rgb": {
    "r": 143,
    "g": 144,
    "b": 24
  },
  "hsl": {
    "h": 60.5,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.63224,
    "c": 0.13132,
    "h": 110.1
  },
  "luminance": 0.25852
}

Semantic roles & 50–950 ramp

primary
#8F9018
secondary
#4443C0
accent
#3AEE3B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #8F9018

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

Preview Lab → · Contrast checker → · Palette generator →

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