#9FA230#9FA230

#9FA230 is a light, vivid yellow. Relative luminance 0.334; OKLCH L 68.9% C 0.133 H 110.9°. Best body text is #000000 at 7.69:1 contrast (WCAG AA passes).

Color values

HEX#9FA230
RGBrgb(159, 162, 48)
HSLhsl(62, 54%, 41%)
HSVhsv(62, 70%, 64%)
CMYKcmyk(1.9%, 0%, 70.4%, 36.5%)
CIE-LABlab(64.50, -15.29, 55.79)
CIE-LCHlch(64.50, 57.85, 105.33°)
OKLaboklab(68.88% -0.0475 0.1243)
OKLCHoklch(68.88% 0.133 110.9)
XYZxyz(27.7528, 33.4257, 7.7856)
Luminance0.3342 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA230 #3330A2
analogous
#A26C30 #9FA230 #66A230
triadic
#9FA230 #309FA2 #A2309F
tetradic
#9FA230 #30A26C #3330A2 #A23066
square
#9FA230 #30A26C #3330A2 #A23066
split-complementary
#9FA230 #3066A2 #6C30A2
monochromatic
#424414 #717322 #9FA230 #C5C847 #D4D676

Accessibility & contrast

On white

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

On black

7.69
#9FA230 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA230
7.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA230#FFFFFF#000000##000000
##9FA2301.002.737.697.69
#FFFFFF2.731.0021.0021.00
#0000007.6921.001.001.00
##0000007.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B1D
Deuteranopia (green-blind)
#B09E38
Tritanopia (blue-blind)
#AA988C
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9fa230;
/* rgb */ color: rgb(159, 162, 48);
/* oklch */ color: oklch(68.9% 0.133 110.9);
Tailwind
colors: {
  custom: {
    50: '#bfbd70',
    500: '#9fa230',
    950: '#000000',
  },
}
SCSS
$custom: #9fa230;
$custom-light: #bfbd70;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa230",
  "rgb": {
    "r": 159,
    "g": 162,
    "b": 48
  },
  "hsl": {
    "h": 61.579,
    "s": 54.286,
    "l": 41.176
  },
  "oklch": {
    "l": 0.68875,
    "c": 0.13302,
    "h": 110.9
  },
  "luminance": 0.33425
}

Semantic roles & 50–950 ramp

primary
#9FA230
secondary
#716FBE
accent
#4ADE4E
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #9FA230

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

Preview Lab → · Contrast checker → · Palette generator →

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