#9FA233#9FA233

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

Color values

HEX#9FA233
RGBrgb(159, 162, 51)
HSLhsl(62, 52%, 42%)
HSVhsv(62, 69%, 64%)
CMYKcmyk(1.9%, 0%, 68.5%, 36.5%)
CIE-LABlab(64.52, -15.12, 54.64)
CIE-LCHlch(64.52, 56.70, 105.47°)
OKLaboklab(68.9% -0.0467 0.1224)
OKLCHoklch(68.9% 0.131 110.9)
XYZxyz(27.8168, 33.4513, 8.1228)
Luminance0.3345 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9FA233 #3633A2
analogous
#A26E33 #9FA233 #68A233
triadic
#9FA233 #339FA2 #A2339F
tetradic
#9FA233 #33A26E #3633A2 #A23368
square
#9FA233 #33A26E #3633A2 #A23368
split-complementary
#9FA233 #3368A2 #6E33A2
monochromatic
#444516 #717324 #9FA233 #C3C74C #D3D57A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9FA233#FFFFFF#000000##000000
##9FA2331.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)
#AF9B22
Deuteranopia (green-blind)
#AF9E3B
Tritanopia (blue-blind)
#AA988C
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #9fa233;
/* rgb */ color: rgb(159, 162, 51);
/* oklch */ color: oklch(68.9% 0.131 110.9);
Tailwind
colors: {
  custom: {
    50: '#bebd72',
    500: '#9fa233',
    950: '#000000',
  },
}
SCSS
$custom: #9fa233;
$custom-light: #bebd72;
$custom-dark: #000000;
JSON
{
  "hex": "#9fa233",
  "rgb": {
    "r": 159,
    "g": 162,
    "b": 51
  },
  "hsl": {
    "h": 61.622,
    "s": 52.113,
    "l": 41.765
  },
  "oklch": {
    "l": 0.68898,
    "c": 0.13097,
    "h": 110.9
  },
  "luminance": 0.33451
}

Semantic roles & 50–950 ramp

primary
#9FA233
secondary
#7573BE
accent
#4CDC50
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B

Preview Lab

Preview with #9FA233

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

Preview Lab → · Contrast checker → · Palette generator →

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