#9FA23A#9FA23A

#9FA23A is a light, vivid yellow. Relative luminance 0.335; OKLCH L 69.0% C 0.126 H 110.9°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#9FA23A
RGBrgb(159, 162, 58)
HSLhsl(62, 47%, 43%)
HSVhsv(62, 64%, 64%)
CMYKcmyk(1.9%, 0%, 64.2%, 36.5%)
CIE-LABlab(64.58, -14.69, 51.81)
CIE-LCHlch(64.58, 53.86, 105.83°)
OKLaboklab(68.96% -0.0448 0.1175)
OKLCHoklch(68.96% 0.126 110.9)
XYZxyz(27.9830, 33.5178, 8.9977)
Luminance0.3352 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA23A #3D3AA2
analogous
#A2713A #9FA23A #6BA23A
triadic
#9FA23A #3A9FA2 #A23A9F
tetradic
#9FA23A #3AA271 #3D3AA2 #A23A6B
square
#9FA23A #3AA271 #3D3AA2 #A23A6B
split-complementary
#9FA23A #3A6BA2 #713AA2
monochromatic
#47481A #73752A #9FA23A #C0C357 #D1D384

Accessibility & contrast

On white

2.73
#9FA23A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#9FA23A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA23A
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA23A#FFFFFF#000000##000000
##9FA23A1.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B2D
Deuteranopia (green-blind)
#AF9E41
Tritanopia (blue-blind)
#AA988C
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #9fa23a;
/* rgb */ color: rgb(159, 162, 58);
/* oklch */ color: oklch(69.0% 0.126 110.9);
Tailwind
colors: {
  custom: {
    50: '#bebd75',
    500: '#9fa23a',
    950: '#000000',
  },
}
SCSS
$custom: #9fa23a;
$custom-light: #bebd75;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa23a",
  "rgb": {
    "r": 159,
    "g": 162,
    "b": 58
  },
  "hsl": {
    "h": 61.731,
    "s": 47.273,
    "l": 43.137
  },
  "oklch": {
    "l": 0.68957,
    "c": 0.12575,
    "h": 110.9
  },
  "luminance": 0.33517
}

Semantic roles & 50–950 ramp

primary
#9FA23A
secondary
#7D7BBD
accent
#51D755
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#121209
muted
#81817B

Preview Lab

Preview with #9FA23A

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

Preview Lab → · Contrast checker → · Palette generator →

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