#8F9F27#8F9F27

#8F9F27 is a light, vivid yellow. Relative luminance 0.308; OKLCH L 66.8% C 0.140 H 117.1°. Best body text is #000000 at 7.16:1 contrast (WCAG AA passes).

Color values

HEX#8F9F27
RGBrgb(143, 159, 39)
HSLhsl(68, 61%, 39%)
HSVhsv(68, 75%, 62%)
CMYKcmyk(10.1%, 0%, 75.5%, 37.6%)
CIE-LABlab(62.32, -21.17, 56.51)
CIE-LCHlch(62.32, 60.34, 110.53°)
OKLaboklab(66.8% -0.0638 0.1247)
OKLCHoklch(66.8% 0.14 117.1)
XYZxyz(24.0926, 30.7827, 6.5915)
Luminance0.3078 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9F27 #37279F
analogous
#9F7327 #8F9F27 #539F27
triadic
#8F9F27 #278F9F #9F278F
tetradic
#8F9F27 #279F73 #37279F #9F2753
square
#8F9F27 #279F73 #37279F #9F2753
split-complementary
#8F9F27 #27539F #73279F
monochromatic
#373D0F #636E1B #8F9F27 #B9CE36 #CADA67

Accessibility & contrast

On white

2.93
#8F9F27 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#8F9F27 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8F9F27
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9F27#FFFFFF#000000##000000
##8F9F271.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA960C
Deuteranopia (green-blind)
#A99731
Tritanopia (blue-blind)
#989688
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8f9f27;
/* rgb */ color: rgb(143, 159, 39);
/* oklch */ color: oklch(66.8% 0.140 117.1);
Tailwind
colors: {
  custom: {
    50: '#b3bb6b',
    500: '#8f9f27',
    950: '#000000',
  },
}
SCSS
$custom: #8f9f27;
$custom-light: #b3bb6b;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9f27",
  "rgb": {
    "r": 143,
    "g": 159,
    "b": 39
  },
  "hsl": {
    "h": 68,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.66796,
    "c": 0.14006,
    "h": 117.1
  },
  "luminance": 0.30782
}

Semantic roles & 50–950 ramp

primary
#8F9F27
secondary
#6F62C0
accent
#44E459
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#111107
muted
#80807A

Preview Lab

Preview with #8F9F27

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

Preview Lab → · Contrast checker → · Palette generator →

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