#9F9124#9F9124

#9F9124 is a light, vivid yellow. Relative luminance 0.277; OKLCH L 65.0% C 0.124 H 101.7°. Best body text is #000000 at 6.55:1 contrast (WCAG AA passes).

Color values

HEX#9F9124
RGBrgb(159, 145, 36)
HSLhsl(53, 63%, 38%)
HSVhsv(53, 77%, 62%)
CMYKcmyk(0%, 8.8%, 77.4%, 37.6%)
CIE-LABlab(59.66, -6.87, 55.54)
CIE-LCHlch(59.66, 55.96, 97.05°)
OKLaboklab(64.99% -0.025 0.1215)
OKLCHoklch(64.99% 0.124 101.7)
XYZxyz(24.7431, 27.7502, 5.7217)
Luminance0.2775 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9124 #24329F
analogous
#9F5324 #9F9124 #6F9F24
triadic
#9F9124 #249F91 #91249F
tetradic
#9F9124 #249F53 #24329F #9F246F
square
#9F9124 #249F53 #24329F #9F246F
split-complementary
#9F9124 #246F9F #53249F
monochromatic
#3B360D #6D6319 #9F9124 #D0BE30 #DBCE62

Accessibility & contrast

On white

3.21
#9F9124 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.55
#9F9124 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F9124
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9124#FFFFFF#000000##000000
##9F91241.003.216.556.55
#FFFFFF3.211.0021.0021.00
#0000006.5521.001.001.00
##0000006.5521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C0C
Deuteranopia (green-blind)
#A3922C
Tritanopia (blue-blind)
#AC867C
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9f9124;
/* rgb */ color: rgb(159, 145, 36);
/* oklch */ color: oklch(65.0% 0.124 101.7);
Tailwind
colors: {
  custom: {
    50: '#bfb068',
    500: '#9f9124',
    950: '#000000',
  },
}
SCSS
$custom: #9f9124;
$custom-light: #bfb068;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9124",
  "rgb": {
    "r": 159,
    "g": 145,
    "b": 36
  },
  "hsl": {
    "h": 53.171,
    "s": 63.077,
    "l": 38.235
  },
  "oklch": {
    "l": 0.64992,
    "c": 0.12403,
    "h": 101.7
  },
  "luminance": 0.27749
}

Semantic roles & 50–950 ramp

primary
#9F9124
secondary
#5E69C1
accent
#54E642
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #9F9124

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

Preview Lab → · Contrast checker → · Palette generator →

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