#9F902E#9F902E

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

Color values

HEX#9F902E
RGBrgb(159, 144, 46)
HSLhsl(52, 55%, 40%)
HSVhsv(52, 71%, 62%)
CMYKcmyk(0%, 9.4%, 71.1%, 37.6%)
CIE-LABlab(59.45, -5.86, 51.56)
CIE-LCHlch(59.45, 51.89, 96.48°)
OKLaboklab(64.84% -0.0211 0.115)
OKLCHoklch(64.84% 0.117 100.4)
XYZxyz(24.7656, 27.5158, 6.5908)
Luminance0.2752 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F902E #2E3D9F
analogous
#9F572E #9F902E #769F2E
triadic
#9F902E #2E9F90 #902E9F
tetradic
#9F902E #2E9F57 #2E3D9F #9F2E76
square
#9F902E #2E9F57 #2E3D9F #9F2E76
split-complementary
#9F902E #2E769F #572E9F
monochromatic
#403A13 #706520 #9F902E #C8B642 #D6C971

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F902E#FFFFFF#000000##000000
##9F902E1.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)
#9E8C1F
Deuteranopia (green-blind)
#A29234
Tritanopia (blue-blind)
#AB857C
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #9f902e;
/* rgb */ color: rgb(159, 144, 46);
/* oklch */ color: oklch(64.8% 0.117 100.4);
Tailwind
colors: {
  custom: {
    50: '#bfb06d',
    500: '#9f902e',
    950: '#000000',
  },
}
SCSS
$custom: #9f902e;
$custom-light: #bfb06d;
$custom-dark: #000000;
JSON
{
  "hex": "#9f902e",
  "rgb": {
    "r": 159,
    "g": 144,
    "b": 46
  },
  "hsl": {
    "h": 52.035,
    "s": 55.122,
    "l": 40.196
  },
  "oklch": {
    "l": 0.64843,
    "c": 0.11688,
    "h": 100.4
  },
  "luminance": 0.27515
}

Semantic roles & 50–950 ramp

primary
#9F902E
secondary
#6B76BE
accent
#5DDE49
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #9F902E

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

Preview Lab → · Contrast checker → · Palette generator →

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