#9F8924#9F8924

#9F8924 is a light, moderate yellow. Relative luminance 0.254; OKLCH L 63.2% C 0.118 H 96.2°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#9F8924
RGBrgb(159, 137, 36)
HSLhsl(49, 63%, 38%)
HSVhsv(49, 77%, 62%)
CMYKcmyk(0%, 13.8%, 77.4%, 37.6%)
CIE-LABlab(57.45, -2.51, 53.49)
CIE-LCHlch(57.45, 53.55, 92.69°)
OKLaboklab(63.24% -0.0127 0.1171)
OKLCHoklch(63.24% 0.118 96.2)
XYZxyz(23.5634, 25.3909, 5.3285)
Luminance0.2539 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F8924 #243A9F
analogous
#9F4B24 #9F8924 #779F24
triadic
#9F8924 #249F89 #89249F
tetradic
#9F8924 #249F4B #243A9F #9F2477
square
#9F8924 #249F4B #243A9F #9F2477
split-complementary
#9F8924 #24779F #4B249F
monochromatic
#3B330D #6D5E19 #9F8924 #D0B430 #DBC662

Accessibility & contrast

On white

3.46
#9F8924 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#9F8924 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F8924
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F8924#FFFFFF#000000##000000
##9F89241.003.466.086.08
#FFFFFF3.461.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#988610
Deuteranopia (green-blind)
#9D8D2B
Tritanopia (blue-blind)
#AC7E76
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #9f8924;
/* rgb */ color: rgb(159, 137, 36);
/* oklch */ color: oklch(63.2% 0.118 96.2);
Tailwind
colors: {
  custom: {
    50: '#bfab67',
    500: '#9f8924',
    950: '#000000',
  },
}
SCSS
$custom: #9f8924;
$custom-light: #bfab67;
$custom-dark: #000000;
JSON
{
  "hex": "#9f8924",
  "rgb": {
    "r": 159,
    "g": 137,
    "b": 36
  },
  "hsl": {
    "h": 49.268,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.63242,
    "c": 0.11779,
    "h": 96.2
  },
  "luminance": 0.2539
}

Semantic roles & 50–950 ramp

primary
#9F8924
secondary
#5E70C1
accent
#5FE642
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9F8924

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

Preview Lab → · Contrast checker → · Palette generator →

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