#9F902C#9F902C

#9F902C is a light, moderate yellow. Relative luminance 0.275; OKLCH L 64.8% C 0.118 H 100.5°. Best body text is #000000 at 6.50:1 contrast (WCAG AA passes).

Color values

HEX#9F902C
RGBrgb(159, 144, 44)
HSLhsl(52, 57%, 40%)
HSVhsv(52, 72%, 62%)
CMYKcmyk(0%, 9.4%, 72.3%, 37.6%)
CIE-LABlab(59.43, -5.96, 52.35)
CIE-LCHlch(59.43, 52.68, 96.50°)
OKLaboklab(64.83% -0.0216 0.1163)
OKLCHoklch(64.83% 0.118 100.5)
XYZxyz(24.7271, 27.5004, 6.3880)
Luminance0.2750 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F902C #2C3B9F
analogous
#9F572C #9F902C #749F2C
triadic
#9F902C #2C9F90 #902C9F
tetradic
#9F902C #2C9F57 #2C3B9F #9F2C74
square
#9F902C #2C9F57 #2C3B9F #9F2C74
split-complementary
#9F902C #2C749F #572C9F
monochromatic
#3F3911 #6F651F #9F902C #CAB83E #D7C96E

Accessibility & contrast

On white

3.23
#9F902C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.50
#9F902C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F902C
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F902C#FFFFFF#000000##000000
##9F902C1.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C1C
Deuteranopia (green-blind)
#A29232
Tritanopia (blue-blind)
#AB857C
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #9f902c;
/* rgb */ color: rgb(159, 144, 44);
/* oklch */ color: oklch(64.8% 0.118 100.5);
Tailwind
colors: {
  custom: {
    50: '#bfb06c',
    500: '#9f902c',
    950: '#000000',
  },
}
SCSS
$custom: #9f902c;
$custom-light: #bfb06c;
$custom-dark: #000000;
JSON
{
  "hex": "#9f902c",
  "rgb": {
    "r": 159,
    "g": 144,
    "b": 44
  },
  "hsl": {
    "h": 52.174,
    "s": 56.65,
    "l": 39.804
  },
  "oklch": {
    "l": 0.64827,
    "c": 0.11826,
    "h": 100.5
  },
  "luminance": 0.27499
}

Semantic roles & 50–950 ramp

primary
#9F902C
secondary
#6974BE
accent
#5CE048
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #9F902C

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

Preview Lab → · Contrast checker → · Palette generator →

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