#9F8428#9F8428

#9F8428 is a light, moderate yellow. Relative luminance 0.240; OKLCH L 62.2% C 0.112 H 92.0°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#9F8428
RGBrgb(159, 132, 40)
HSLhsl(46, 60%, 39%)
HSVhsv(46, 75%, 62%)
CMYKcmyk(0%, 17%, 74.8%, 37.6%)
CIE-LABlab(56.12, 0.43, 50.69)
CIE-LCHlch(56.12, 50.69, 89.51°)
OKLaboklab(62.19% -0.0039 0.112)
OKLCHoklch(62.19% 0.112 92)
XYZxyz(22.9336, 24.0280, 5.4370)
Luminance0.2403 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F8428 #28439F
analogous
#9F4928 #9F8428 #7F9F28
triadic
#9F8428 #289F84 #84289F
tetradic
#9F8428 #289F49 #28439F #9F287F
square
#9F8428 #289F49 #28439F #9F287F
split-complementary
#9F8428 #287F9F #49289F
monochromatic
#3D330F #6E5B1C #9F8428 #CDAB37 #D9C068

Accessibility & contrast

On white

3.62
#9F8428 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#9F8428 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F8428
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F8428#FFFFFF#000000##000000
##9F84281.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#938219
Deuteranopia (green-blind)
#9A8A2D
Tritanopia (blue-blind)
#AC7972
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9f8428;
/* rgb */ color: rgb(159, 132, 40);
/* oklch */ color: oklch(62.2% 0.112 92.0);
Tailwind
colors: {
  custom: {
    50: '#bfa768',
    500: '#9f8428',
    950: '#000000',
  },
}
SCSS
$custom: #9f8428;
$custom-light: #bfa768;
$custom-dark: #000000;
JSON
{
  "hex": "#9f8428",
  "rgb": {
    "r": 159,
    "g": 132,
    "b": 40
  },
  "hsl": {
    "h": 46.387,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.62192,
    "c": 0.11203,
    "h": 92
  },
  "luminance": 0.24027
}

Semantic roles & 50–950 ramp

primary
#9F8428
secondary
#6478BF
accent
#69E345
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9F8428

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

Preview Lab → · Contrast checker → · Palette generator →

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