#9FA833#9FA833

#9FA833 is a light, vivid yellow. Relative luminance 0.356; OKLCH L 70.3% C 0.138 H 113.7°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#9FA833
RGBrgb(159, 168, 51)
HSLhsl(65, 53%, 43%)
HSVhsv(65, 70%, 66%)
CMYKcmyk(5.4%, 0%, 69.6%, 34.1%)
CIE-LABlab(66.23, -18.20, 56.35)
CIE-LCHlch(66.23, 59.21, 107.90°)
OKLaboklab(70.26% -0.0553 0.1259)
OKLCHoklch(70.26% 0.138 113.7)
XYZxyz(28.8991, 35.6158, 8.4835)
Luminance0.3562 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA833 #3C33A8
analogous
#A87633 #9FA833 #65A833
triadic
#9FA833 #339FA8 #A8339F
tetradic
#9FA833 #33A876 #3C33A8 #A83365
square
#9FA833 #33A876 #3C33A8 #A83365
split-complementary
#9FA833 #3365A8 #7633A8
monochromatic
#464A16 #737925 #9FA833 #C0C94F #D1D87E

Accessibility & contrast

On white

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

On black

8.12
#9FA833 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9FA833
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9FA833#FFFFFF#000000##000000
##9FA8331.002.598.128.12
#FFFFFF2.591.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A020
Deuteranopia (green-blind)
#B4A23C
Tritanopia (blue-blind)
#A99E91
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #9fa833;
/* rgb */ color: rgb(159, 168, 51);
/* oklch */ color: oklch(70.3% 0.138 113.7);
Tailwind
colors: {
  custom: {
    50: '#bec172',
    500: '#9fa833',
    950: '#000000',
  },
}
SCSS
$custom: #9fa833;
$custom-light: #bec172;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa833",
  "rgb": {
    "r": 159,
    "g": 168,
    "b": 51
  },
  "hsl": {
    "h": 64.615,
    "s": 53.425,
    "l": 42.941
  },
  "oklch": {
    "l": 0.70258,
    "c": 0.13756,
    "h": 113.7
  },
  "luminance": 0.35615
}

Semantic roles & 50–950 ramp

primary
#9FA833
secondary
#7C76C1
accent
#4BDD56
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #9FA833

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

Preview Lab → · Contrast checker → · Palette generator →

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