#9FA823#9FA823

#9FA823 is a light, vivid yellow. Relative luminance 0.355; OKLCH L 70.2% C 0.147 H 113.6°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).

Color values

HEX#9FA823
RGBrgb(159, 168, 35)
HSLhsl(64, 66%, 40%)
HSVhsv(64, 79%, 66%)
CMYKcmyk(5.4%, 0%, 79.2%, 34.1%)
CIE-LABlab(66.13, -18.96, 61.74)
CIE-LCHlch(66.13, 64.59, 107.07°)
OKLaboklab(70.16% -0.0589 0.1345)
OKLCHoklch(70.16% 0.147 113.6)
XYZxyz(28.6050, 35.4982, 6.9348)
Luminance0.3550 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA823 #2C23A8
analogous
#A86E23 #9FA823 #5DA823
triadic
#9FA823 #239FA8 #A8239F
tetradic
#9FA823 #23A86E #2C23A8 #A8235D
square
#9FA823 #23A86E #2C23A8 #A8235D
split-complementary
#9FA823 #235DA8 #6E23A8
monochromatic
#3F430E #6F7518 #9FA823 #CAD534 #D7DF66

Accessibility & contrast

On white

2.59
#9FA823 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.10
#9FA823 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA823
8.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA823#FFFFFF#000000##000000
##9FA8231.002.598.108.10
#FFFFFF2.591.0021.0021.00
#0000008.1021.001.001.00
##0000008.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A000
Deuteranopia (green-blind)
#B5A230
Tritanopia (blue-blind)
#AA9E90
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9fa823;
/* rgb */ color: rgb(159, 168, 35);
/* oklch */ color: oklch(70.2% 0.147 113.6);
Tailwind
colors: {
  custom: {
    50: '#bfc16a',
    500: '#9fa823',
    950: '#000000',
  },
}
SCSS
$custom: #9fa823;
$custom-light: #bfc16a;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa823",
  "rgb": {
    "r": 159,
    "g": 168,
    "b": 35
  },
  "hsl": {
    "h": 64.06,
    "s": 65.517,
    "l": 39.804
  },
  "oklch": {
    "l": 0.70157,
    "c": 0.14682,
    "h": 113.6
  },
  "luminance": 0.35498
}

Semantic roles & 50–950 ramp

primary
#9FA823
secondary
#6962C5
accent
#3FE84B
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A

Preview Lab

Preview with #9FA823

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

Preview Lab → · Contrast checker → · Palette generator →

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