#8F9F23#8F9F23

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

Color values

HEX#8F9F23
RGBrgb(143, 159, 35)
HSLhsl(68, 64%, 38%)
HSVhsv(68, 78%, 62%)
CMYKcmyk(10.1%, 0%, 78%, 37.6%)
CIE-LABlab(62.30, -21.35, 57.81)
CIE-LCHlch(62.30, 61.63, 110.27°)
OKLaboklab(66.77% -0.0646 0.1267)
OKLCHoklch(66.77% 0.142 117)
XYZxyz(24.0298, 30.7576, 6.2607)
Luminance0.3076 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9F23 #33239F
analogous
#9F7123 #8F9F23 #519F23
triadic
#8F9F23 #238F9F #9F238F
tetradic
#8F9F23 #239F71 #33239F #9F2351
square
#8F9F23 #239F71 #33239F #9F2351
split-complementary
#8F9F23 #23519F #71239F
monochromatic
#353B0D #626D18 #8F9F23 #BCD12E #CCDC60

Accessibility & contrast

On white

2.94
#8F9F23 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#8F9F23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8F9F23
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9F23#FFFFFF#000000##000000
##8F9F231.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f9f23;
/* rgb */ color: rgb(143, 159, 35);
/* oklch */ color: oklch(66.8% 0.142 117.0);
Tailwind
colors: {
  custom: {
    50: '#b3bb69',
    500: '#8f9f23',
    950: '#000000',
  },
}
SCSS
$custom: #8f9f23;
$custom-light: #b3bb69;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9f23",
  "rgb": {
    "r": 143,
    "g": 159,
    "b": 35
  },
  "hsl": {
    "h": 67.742,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.66772,
    "c": 0.14226,
    "h": 117
  },
  "luminance": 0.30757
}

Semantic roles & 50–950 ramp

primary
#8F9F23
secondary
#6A5DC1
accent
#41E756
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8F9F23

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

Preview Lab → · Contrast checker → · Palette generator →

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