#9F9125#9F9125

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

Color values

HEX#9F9125
RGBrgb(159, 145, 37)
HSLhsl(53, 62%, 38%)
HSVhsv(53, 77%, 62%)
CMYKcmyk(0%, 8.8%, 76.7%, 37.6%)
CIE-LABlab(59.67, -6.83, 55.20)
CIE-LCHlch(59.67, 55.62, 97.05°)
OKLaboklab(65% -0.0248 0.1209)
OKLCHoklch(65% 0.123 101.6)
XYZxyz(24.7586, 27.7564, 5.8033)
Luminance0.2776 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9125 #25339F
analogous
#9F5425 #9F9125 #709F25
triadic
#9F9125 #259F91 #91259F
tetradic
#9F9125 #259F54 #25339F #9F2570
square
#9F9125 #259F54 #25339F #9F2570
split-complementary
#9F9125 #25709F #54259F
monochromatic
#3C360E #6D6419 #9F9125 #CFBD32 #DBCD64

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F9125#FFFFFF#000000##000000
##9F91251.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)
#9F8C0E
Deuteranopia (green-blind)
#A3922D
Tritanopia (blue-blind)
#AC867C
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9f9125;
/* rgb */ color: rgb(159, 145, 37);
/* oklch */ color: oklch(65.0% 0.123 101.6);
Tailwind
colors: {
  custom: {
    50: '#bfb068',
    500: '#9f9125',
    950: '#000000',
  },
}
SCSS
$custom: #9f9125;
$custom-light: #bfb068;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9125",
  "rgb": {
    "r": 159,
    "g": 145,
    "b": 37
  },
  "hsl": {
    "h": 53.115,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.64999,
    "c": 0.12346,
    "h": 101.6
  },
  "luminance": 0.27755
}

Semantic roles & 50–950 ramp

primary
#9F9125
secondary
#5F6BC0
accent
#55E542
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #9F9125

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

Preview Lab → · Contrast checker → · Palette generator →

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