#9F9027#9F9027

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

Color values

HEX#9F9027
RGBrgb(159, 144, 39)
HSLhsl(53, 61%, 39%)
HSVhsv(53, 75%, 62%)
CMYKcmyk(0%, 9.4%, 75.5%, 37.6%)
CIE-LABlab(59.40, -6.20, 54.23)
CIE-LCHlch(59.40, 54.58, 96.52°)
OKLaboklab(64.79% -0.0229 0.1193)
OKLCHoklch(64.79% 0.121 100.9)
XYZxyz(24.6387, 27.4651, 5.9225)
Luminance0.2746 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9027 #27369F
analogous
#9F5427 #9F9027 #729F27
triadic
#9F9027 #279F90 #90279F
tetradic
#9F9027 #279F54 #27369F #9F2772
square
#9F9027 #279F54 #27369F #9F2772
split-complementary
#9F9027 #27729F #54279F
monochromatic
#3D370F #6E631B #9F9027 #CEBB36 #DACB67

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F9027#FFFFFF#000000##000000
##9F90271.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)
#9E8C13
Deuteranopia (green-blind)
#A2922E
Tritanopia (blue-blind)
#AC857C
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #9f9027;
/* rgb */ color: rgb(159, 144, 39);
/* oklch */ color: oklch(64.8% 0.121 100.9);
Tailwind
colors: {
  custom: {
    50: '#bfb069',
    500: '#9f9027',
    950: '#000000',
  },
}
SCSS
$custom: #9f9027;
$custom-light: #bfb069;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9027",
  "rgb": {
    "r": 159,
    "g": 144,
    "b": 39
  },
  "hsl": {
    "h": 52.5,
    "s": 60.606,
    "l": 38.824
  },
  "oklch": {
    "l": 0.64791,
    "c": 0.12144,
    "h": 100.9
  },
  "luminance": 0.27464
}

Semantic roles & 50–950 ramp

primary
#9F9027
secondary
#626EC0
accent
#58E444
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #9F9027

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

Preview Lab → · Contrast checker → · Palette generator →

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