#9F902F#9F902F

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

Color values

HEX#9F902F
RGBrgb(159, 144, 47)
HSLhsl(52, 54%, 40%)
HSVhsv(52, 70%, 62%)
CMYKcmyk(0%, 9.4%, 70.4%, 37.6%)
CIE-LABlab(59.46, -5.80, 51.15)
CIE-LCHlch(59.46, 51.48, 96.47°)
OKLaboklab(64.85% -0.0209 0.1143)
OKLCHoklch(64.85% 0.116 100.3)
XYZxyz(24.7855, 27.5238, 6.6958)
Luminance0.2752 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F902F #2F3E9F
analogous
#9F582F #9F902F #769F2F
triadic
#9F902F #2F9F90 #902F9F
tetradic
#9F902F #2F9F58 #2F3E9F #9F2F76
square
#9F902F #2F9F58 #2F3E9F #9F2F76
split-complementary
#9F902F #2F769F #582F9F
monochromatic
#413A13 #706521 #9F902F #C8B644 #D6C873

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F902F#FFFFFF#000000##000000
##9F902F1.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)
#9E8C21
Deuteranopia (green-blind)
#A29235
Tritanopia (blue-blind)
#AB867C
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #9f902f;
/* rgb */ color: rgb(159, 144, 47);
/* oklch */ color: oklch(64.9% 0.116 100.3);
Tailwind
colors: {
  custom: {
    50: '#bfb06e',
    500: '#9f902f',
    950: '#000000',
  },
}
SCSS
$custom: #9f902f;
$custom-light: #bfb06e;
$custom-dark: #000000;
JSON
{
  "hex": "#9f902f",
  "rgb": {
    "r": 159,
    "g": 144,
    "b": 47
  },
  "hsl": {
    "h": 51.964,
    "s": 54.369,
    "l": 40.392
  },
  "oklch": {
    "l": 0.64851,
    "c": 0.11618,
    "h": 100.3
  },
  "luminance": 0.27523
}

Semantic roles & 50–950 ramp

primary
#9F902F
secondary
#6D77BD
accent
#5EDE4A
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #9F902F

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

Preview Lab → · Contrast checker → · Palette generator →

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