#9F9028#9F9028

#9F9028 is a light, vivid yellow. Relative luminance 0.275; OKLCH L 64.8% C 0.121 H 100.8°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#9F9028
RGBrgb(159, 144, 40)
HSLhsl(52, 60%, 39%)
HSVhsv(52, 75%, 62%)
CMYKcmyk(0%, 9.4%, 74.8%, 37.6%)
CIE-LABlab(59.41, -6.16, 53.86)
CIE-LCHlch(59.41, 54.21, 96.52°)
OKLaboklab(64.8% -0.0226 0.1187)
OKLCHoklch(64.8% 0.121 100.8)
XYZxyz(24.6555, 27.4718, 6.0110)
Luminance0.2747 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9028 #28379F
analogous
#9F5528 #9F9028 #739F28
triadic
#9F9028 #289F90 #90289F
tetradic
#9F9028 #289F55 #28379F #9F2873
square
#9F9028 #289F55 #28379F #9F2873
split-complementary
#9F9028 #28739F #55289F
monochromatic
#3D370F #6E641C #9F9028 #CDBA37 #D9CB68

Accessibility & contrast

On white

3.23
#9F9028 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#9F9028 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F9028
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9028#FFFFFF#000000##000000
##9F90281.003.236.496.49
#FFFFFF3.231.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C15
Deuteranopia (green-blind)
#A2922F
Tritanopia (blue-blind)
#AC857C
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #9f9028;
/* rgb */ color: rgb(159, 144, 40);
/* oklch */ color: oklch(64.8% 0.121 100.8);
Tailwind
colors: {
  custom: {
    50: '#bfb06a',
    500: '#9f9028',
    950: '#000000',
  },
}
SCSS
$custom: #9f9028;
$custom-light: #bfb06a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9028",
  "rgb": {
    "r": 159,
    "g": 144,
    "b": 40
  },
  "hsl": {
    "h": 52.437,
    "s": 59.799,
    "l": 39.02
  },
  "oklch": {
    "l": 0.64798,
    "c": 0.12084,
    "h": 100.8
  },
  "luminance": 0.27471
}

Semantic roles & 50–950 ramp

primary
#9F9028
secondary
#646FBF
accent
#59E345
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #9F9028

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

Preview Lab → · Contrast checker → · Palette generator →

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