#9FB123#9FB123

#9FB123 is a light, vivid yellow. Relative luminance 0.389; OKLCH L 72.2% C 0.157 H 117.1°. Best body text is #000000 at 8.79:1 contrast (WCAG AA passes).

Color values

HEX#9FB123
RGBrgb(159, 177, 35)
HSLhsl(68, 67%, 42%)
HSVhsv(68, 80%, 69%)
CMYKcmyk(10.2%, 0%, 80.2%, 30.6%)
CIE-LABlab(68.71, -23.45, 64.03)
CIE-LCHlch(68.71, 68.19, 110.12°)
OKLaboklab(72.22% -0.0713 0.1394)
OKLCHoklch(72.22% 0.157 117.1)
XYZxyz(30.3244, 38.9369, 7.5079)
Luminance0.3894 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB123 #3523B1
analogous
#B17C23 #9FB123 #58B123
triadic
#9FB123 #239FB1 #B1239F
tetradic
#9FB123 #23B17C #3523B1 #B12358
square
#9FB123 #23B17C #3523B1 #B12358
split-complementary
#9FB123 #2358B1 #7C23B1
monochromatic
#434B0F #717E19 #9FB123 #C4D839 #D3E26C

Accessibility & contrast

On white

2.39
#9FB123 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.79
#9FB123 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FB123
8.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FB123#FFFFFF#000000##000000
##9FB1231.002.398.798.79
#FFFFFF2.391.0021.0021.00
#0000008.7921.001.001.00
##0000008.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA700
Deuteranopia (green-blind)
#BCA831
Tritanopia (blue-blind)
#A9A797
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #9fb123;
/* rgb */ color: rgb(159, 177, 35);
/* oklch */ color: oklch(72.2% 0.157 117.1);
Tailwind
colors: {
  custom: {
    50: '#bfc86c',
    500: '#9fb123',
    950: '#000000',
  },
}
SCSS
$custom: #9fb123;
$custom-light: #bfc86c;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb123",
  "rgb": {
    "r": 159,
    "g": 177,
    "b": 35
  },
  "hsl": {
    "h": 67.606,
    "s": 66.981,
    "l": 41.569
  },
  "oklch": {
    "l": 0.72221,
    "c": 0.15657,
    "h": 117.1
  },
  "luminance": 0.38937
}

Semantic roles & 50–950 ramp

primary
#9FB123
secondary
#7468C8
accent
#3EEA54
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A

Preview Lab

Preview with #9FB123

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

Preview Lab → · Contrast checker → · Palette generator →

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