#9F9427#9F9427

#9F9427 is a light, vivid yellow. Relative luminance 0.287; OKLCH L 65.7% C 0.125 H 103.4°. Best body text is #000000 at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#9F9427
RGBrgb(159, 148, 39)
HSLhsl(55, 61%, 39%)
HSVhsv(55, 75%, 62%)
CMYKcmyk(0%, 6.9%, 75.5%, 37.6%)
CIE-LABlab(60.51, -8.36, 55.28)
CIE-LCHlch(60.51, 55.90, 98.60°)
OKLaboklab(65.68% -0.0289 0.1215)
OKLCHoklch(65.68% 0.125 103.4)
XYZxyz(25.2553, 28.6983, 6.1281)
Luminance0.2870 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9427 #27329F
analogous
#9F5827 #9F9427 #6E9F27
triadic
#9F9427 #279F94 #94279F
tetradic
#9F9427 #279F58 #27329F #9F276E
square
#9F9427 #279F58 #27329F #9F276E
split-complementary
#9F9427 #276E9F #58279F
monochromatic
#3D390F #6E661B #9F9427 #CEC036 #DACF67

Accessibility & contrast

On white

3.12
#9F9427 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.74
#9F9427 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F9427
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9427#FFFFFF#000000##000000
##9F94271.003.126.746.74
#FFFFFF3.121.0021.0021.00
#0000006.7421.001.001.00
##0000006.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F11
Deuteranopia (green-blind)
#A5942F
Tritanopia (blue-blind)
#AB897F
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9f9427;
/* rgb */ color: rgb(159, 148, 39);
/* oklch */ color: oklch(65.7% 0.125 103.4);
Tailwind
colors: {
  custom: {
    50: '#bfb36a',
    500: '#9f9427',
    950: '#000000',
  },
}
SCSS
$custom: #9f9427;
$custom-light: #bfb36a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9427",
  "rgb": {
    "r": 159,
    "g": 148,
    "b": 39
  },
  "hsl": {
    "h": 54.5,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.65675,
    "c": 0.1249,
    "h": 103.4
  },
  "luminance": 0.28697
}

Semantic roles & 50–950 ramp

primary
#9F9427
secondary
#626BC0
accent
#53E444
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #9F9427

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

Preview Lab → · Contrast checker → · Palette generator →

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