#9FA023#9FA023

#9FA023 is a light, vivid yellow. Relative luminance 0.326; OKLCH L 68.3% C 0.139 H 110.0°. Best body text is #000000 at 7.53:1 contrast (WCAG AA passes).

Color values

HEX#9FA023
RGBrgb(159, 160, 35)
HSLhsl(60, 64%, 38%)
HSVhsv(60, 78%, 63%)
CMYKcmyk(0.6%, 0%, 78.1%, 37.3%)
CIE-LABlab(63.86, -14.86, 59.70)
CIE-LCHlch(63.86, 61.52, 103.97°)
OKLaboklab(68.34% -0.0475 0.1302)
OKLCHoklch(68.34% 0.139 110)
XYZxyz(27.1733, 32.6347, 6.4575)
Luminance0.3263 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA023 #2423A0
analogous
#A06223 #9FA023 #60A023
triadic
#9FA023 #239FA0 #A0239F
tetradic
#9FA023 #23A062 #2423A0 #A02360
square
#9FA023 #23A062 #2423A0 #A02360
split-complementary
#9FA023 #2360A0 #6223A0
monochromatic
#3B3C0D #6D6E18 #9FA023 #D0D12F #DBDC61

Accessibility & contrast

On white

2.79
#9FA023 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.53
#9FA023 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA023
7.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA023#FFFFFF#000000##000000
##9FA0231.002.797.537.53
#FFFFFF2.791.0021.0021.00
#0000007.5321.001.001.00
##0000007.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9900
Deuteranopia (green-blind)
#AF9C2E
Tritanopia (blue-blind)
#AB9589
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #9fa023;
/* rgb */ color: rgb(159, 160, 35);
/* oklch */ color: oklch(68.3% 0.139 110.0);
Tailwind
colors: {
  custom: {
    50: '#bfbb69',
    500: '#9fa023',
    950: '#000000',
  },
}
SCSS
$custom: #9fa023;
$custom-light: #bfbb69;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa023",
  "rgb": {
    "r": 159,
    "g": 160,
    "b": 35
  },
  "hsl": {
    "h": 60.48,
    "s": 64.103,
    "l": 38.235
  },
  "oklch": {
    "l": 0.68339,
    "c": 0.13855,
    "h": 110
  },
  "luminance": 0.32634
}

Semantic roles & 50–950 ramp

primary
#9FA023
secondary
#5E5DC1
accent
#41E742
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9FA023

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

Preview Lab → · Contrast checker → · Palette generator →

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