#9FB423#9FB423

#9FB423 is a light, vivid yellow. Relative luminance 0.401; OKLCH L 72.9% C 0.160 H 118.1°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).

Color values

HEX#9FB423
RGBrgb(159, 180, 35)
HSLhsl(69, 67%, 42%)
HSVhsv(69, 81%, 71%)
CMYKcmyk(11.7%, 0%, 80.6%, 29.4%)
CIE-LABlab(69.57, -24.93, 64.79)
CIE-LCHlch(69.57, 69.42, 111.04°)
OKLaboklab(72.91% -0.0753 0.141)
OKLCHoklch(72.91% 0.16 118.1)
XYZxyz(30.9235, 40.1351, 7.7076)
Luminance0.4013 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FB423 #3823B4
analogous
#B48123 #9FB423 #56B423
triadic
#9FB423 #239FB4 #B4239F
tetradic
#9FB423 #23B481 #3823B4 #B42356
square
#9FB423 #23B481 #3823B4 #B42356
split-complementary
#9FB423 #2356B4 #8123B4
monochromatic
#444E0F #728119 #9FB423 #C2D93B #D2E36E

Accessibility & contrast

On white

2.33
#9FB423 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.03
#9FB423 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FB423
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FB423#FFFFFF#000000##000000
##9FB4231.002.339.039.03
#FFFFFF2.331.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA00
Deuteranopia (green-blind)
#BEAB32
Tritanopia (blue-blind)
#A9AA9A
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #9fb423;
/* rgb */ color: rgb(159, 180, 35);
/* oklch */ color: oklch(72.9% 0.160 118.1);
Tailwind
colors: {
  custom: {
    50: '#bfca6c',
    500: '#9fb423',
    950: '#000000',
  },
}
SCSS
$custom: #9fb423;
$custom-light: #bfca6c;
$custom-dark: #000000;
JSON
{
  "hex": "#9fb423",
  "rgb": {
    "r": 159,
    "g": 180,
    "b": 35
  },
  "hsl": {
    "h": 68.69,
    "s": 67.442,
    "l": 42.157
  },
  "oklch": {
    "l": 0.72913,
    "c": 0.15988,
    "h": 118.1
  },
  "luminance": 0.40135
}

Semantic roles & 50–950 ramp

primary
#9FB423
secondary
#7769C9
accent
#3DEA57
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A

Preview Lab

Preview with #9FB423

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

Preview Lab → · Contrast checker → · Palette generator →

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