#9F9029#9F9029

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

Color values

HEX#9F9029
RGBrgb(159, 144, 41)
HSLhsl(52, 59%, 39%)
HSVhsv(52, 74%, 62%)
CMYKcmyk(0%, 9.4%, 74.2%, 37.6%)
CIE-LABlab(59.41, -6.11, 53.49)
CIE-LCHlch(59.41, 53.84, 96.52°)
OKLaboklab(64.81% -0.0224 0.1181)
OKLCHoklch(64.81% 0.12 100.7)
XYZxyz(24.6727, 27.4787, 6.1017)
Luminance0.2748 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9029 #29389F
analogous
#9F5529 #9F9029 #739F29
triadic
#9F9029 #299F90 #90299F
tetradic
#9F9029 #299F55 #29389F #9F2973
square
#9F9029 #299F55 #29389F #9F2973
split-complementary
#9F9029 #29739F #55299F
monochromatic
#3E3810 #6E641C #9F9029 #CCB939 #D9CA6A

Accessibility & contrast

On white

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

On black

6.50
#9F9029 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F9029
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F9029#FFFFFF#000000##000000
##9F90291.003.236.506.50
#FFFFFF3.231.0021.0021.00
#0000006.5021.001.001.00
##0000006.5021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9f9029;
/* rgb */ color: rgb(159, 144, 41);
/* oklch */ color: oklch(64.8% 0.120 100.7);
Tailwind
colors: {
  custom: {
    50: '#bfb06a',
    500: '#9f9029',
    950: '#000000',
  },
}
SCSS
$custom: #9f9029;
$custom-light: #bfb06a;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9029",
  "rgb": {
    "r": 159,
    "g": 144,
    "b": 41
  },
  "hsl": {
    "h": 52.373,
    "s": 59,
    "l": 39.216
  },
  "oklch": {
    "l": 0.64805,
    "c": 0.1202,
    "h": 100.7
  },
  "luminance": 0.27478
}

Semantic roles & 50–950 ramp

primary
#9F9029
secondary
#6570BF
accent
#5AE246
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #9F9029

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

Preview Lab → · Contrast checker → · Palette generator →

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