#8F9B23#8F9B23

#8F9B23 is a light, vivid yellow. Relative luminance 0.294; OKLCH L 65.8% C 0.138 H 115.4°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#8F9B23
RGBrgb(143, 155, 35)
HSLhsl(66, 63%, 37%)
HSVhsv(66, 77%, 61%)
CMYKcmyk(7.7%, 0%, 77.4%, 39.2%)
CIE-LABlab(61.14, -19.32, 56.74)
CIE-LCHlch(61.14, 59.94, 108.81°)
OKLaboklab(65.84% -0.059 0.1245)
OKLCHoklch(65.84% 0.138 115.4)
XYZxyz(23.3531, 29.4041, 6.0351)
Luminance0.2940 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9B23 #2F239B
analogous
#9B6B23 #8F9B23 #539B23
triadic
#8F9B23 #238F9B #9B238F
tetradic
#8F9B23 #239B6B #2F239B #9B2353
square
#8F9B23 #239B6B #2F239B #9B2353
split-complementary
#8F9B23 #23539B #6B239B
monochromatic
#33370C #616918 #8F9B23 #BDCD2E #CEDB5E

Accessibility & contrast

On white

3.05
#8F9B23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#8F9B23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F9B23
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9B23#FFFFFF#000000##000000
##8F9B231.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69303
Deuteranopia (green-blind)
#A6942E
Tritanopia (blue-blind)
#999285
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #8f9b23;
/* rgb */ color: rgb(143, 155, 35);
/* oklch */ color: oklch(65.8% 0.138 115.4);
Tailwind
colors: {
  custom: {
    50: '#b3b868',
    500: '#8f9b23',
    950: '#000000',
  },
}
SCSS
$custom: #8f9b23;
$custom-light: #b3b868;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9b23",
  "rgb": {
    "r": 143,
    "g": 155,
    "b": 35
  },
  "hsl": {
    "h": 66,
    "s": 63.158,
    "l": 37.255
  },
  "oklch": {
    "l": 0.65836,
    "c": 0.13774,
    "h": 115.4
  },
  "luminance": 0.29404
}

Semantic roles & 50–950 ramp

primary
#8F9B23
secondary
#655ABF
accent
#42E652
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8F9B23

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

Preview Lab → · Contrast checker → · Palette generator →

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