#8F9B18#8F9B18

#8F9B18 is a light, vivid yellow. Relative luminance 0.293; OKLCH L 65.8% C 0.143 H 115.3°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#8F9B18
RGBrgb(143, 155, 24)
HSLhsl(65, 73%, 35%)
HSVhsv(65, 85%, 61%)
CMYKcmyk(7.7%, 0%, 84.5%, 39.2%)
CIE-LABlab(61.09, -19.73, 59.86)
CIE-LCHlch(61.09, 63.03, 108.25°)
OKLaboklab(65.78% -0.061 0.1292)
OKLCHoklch(65.78% 0.143 115.3)
XYZxyz(23.2146, 29.3487, 5.3059)
Luminance0.2935 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9B18 #24189B
analogous
#9B6518 #8F9B18 #4E9B18
triadic
#8F9B18 #188F9B #9B188F
tetradic
#8F9B18 #189B65 #24189B #9B184E
square
#8F9B18 #189B65 #24189B #9B184E
split-complementary
#8F9B18 #184E9B #65189B
monochromatic
#2D3108 #5E6610 #8F9B18 #C0D020 #D5E34A

Accessibility & contrast

On white

3.06
#8F9B18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#8F9B18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F9B18
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9B18#FFFFFF#000000##000000
##8F9B181.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79300
Deuteranopia (green-blind)
#A69426
Tritanopia (blue-blind)
#999184
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #8f9b18;
/* rgb */ color: rgb(143, 155, 24);
/* oklch */ color: oklch(65.8% 0.143 115.3);
Tailwind
colors: {
  custom: {
    50: '#b4b864',
    500: '#8f9b18',
    950: '#000000',
  },
}
SCSS
$custom: #8f9b18;
$custom-light: #b4b864;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9b18",
  "rgb": {
    "r": 143,
    "g": 155,
    "b": 24
  },
  "hsl": {
    "h": 65.496,
    "s": 73.184,
    "l": 35.098
  },
  "oklch": {
    "l": 0.65782,
    "c": 0.14285,
    "h": 115.3
  },
  "luminance": 0.29348
}

Semantic roles & 50–950 ramp

primary
#8F9B18
secondary
#554AC5
accent
#38F049
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #8F9B18

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

Preview Lab → · Contrast checker → · Palette generator →

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