#9FB023#9FB023

#9FB023 is a light, vivid yellow. Relative luminance 0.385; OKLCH L 72.0% C 0.155 H 116.7°. Best body text is #000000 at 8.71:1 contrast (WCAG AA passes).

Color values

HEX#9FB023
RGBrgb(159, 176, 35)
HSLhsl(67, 67%, 41%)
HSVhsv(67, 80%, 69%)
CMYKcmyk(9.7%, 0%, 80.1%, 31%)
CIE-LABlab(68.42, -22.96, 63.78)
CIE-LCHlch(68.42, 67.78, 109.80°)
OKLaboklab(71.99% -0.0699 0.1389)
OKLCHoklch(71.99% 0.155 116.7)
XYZxyz(30.1276, 38.5434, 7.4423)
Luminance0.3854 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB023 #3423B0
analogous
#B07B23 #9FB023 #59B023
triadic
#9FB023 #239FB0 #B0239F
tetradic
#9FB023 #23B07B #3423B0 #B02359
square
#9FB023 #23B07B #3423B0 #B02359
split-complementary
#9FB023 #2359B0 #7B23B0
monochromatic
#434A0F #717D19 #9FB023 #C4D839 #D3E26C

Accessibility & contrast

On white

2.41
#9FB023 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.71
#9FB023 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FB023
8.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FB023#FFFFFF#000000##000000
##9FB0231.002.418.718.71
#FFFFFF2.411.0021.0021.00
#0000008.7121.001.001.00
##0000008.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA600
Deuteranopia (green-blind)
#BBA831
Tritanopia (blue-blind)
#A9A696
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #9fb023;
/* rgb */ color: rgb(159, 176, 35);
/* oklch */ color: oklch(72.0% 0.155 116.7);
Tailwind
colors: {
  custom: {
    50: '#bfc76c',
    500: '#9fb023',
    950: '#000000',
  },
}
SCSS
$custom: #9fb023;
$custom-light: #bfc76c;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb023",
  "rgb": {
    "r": 159,
    "g": 176,
    "b": 35
  },
  "hsl": {
    "h": 67.234,
    "s": 66.825,
    "l": 41.373
  },
  "oklch": {
    "l": 0.71991,
    "c": 0.15547,
    "h": 116.7
  },
  "luminance": 0.38543
}

Semantic roles & 50–950 ramp

primary
#9FB023
secondary
#7367C8
accent
#3EEA53
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #9FB023

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

Preview Lab → · Contrast checker → · Palette generator →

#9FB023 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva