#9F9022#9F9022

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

Color values

HEX#9F9022
RGBrgb(159, 144, 34)
HSLhsl(53, 65%, 38%)
HSVhsv(53, 79%, 62%)
CMYKcmyk(0%, 9.4%, 78.6%, 37.6%)
CIE-LABlab(59.37, -6.41, 55.96)
CIE-LCHlch(59.37, 56.32, 96.54°)
OKLaboklab(64.76% -0.0239 0.122)
OKLCHoklch(64.76% 0.124 101.1)
XYZxyz(24.5613, 27.4341, 5.5146)
Luminance0.2743 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9022 #22319F
analogous
#9F5122 #9F9022 #6F9F22
triadic
#9F9022 #229F90 #90229F
tetradic
#9F9022 #229F51 #22319F #9F226F
square
#9F9022 #229F51 #22319F #9F226F
split-complementary
#9F9022 #226F9F #51229F
monochromatic
#3A350C #6D6217 #9F9022 #D1BE2D #DDCE5F

Accessibility & contrast

On white

3.24
#9F9022 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F9022#FFFFFF#000000##000000
##9F90221.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C07
Deuteranopia (green-blind)
#A2922A
Tritanopia (blue-blind)
#AC857B
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #9f9022;
/* rgb */ color: rgb(159, 144, 34);
/* oklch */ color: oklch(64.8% 0.124 101.1);
Tailwind
colors: {
  custom: {
    50: '#bfb067',
    500: '#9f9022',
    950: '#000000',
  },
}
SCSS
$custom: #9f9022;
$custom-light: #bfb067;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9022",
  "rgb": {
    "r": 159,
    "g": 144,
    "b": 34
  },
  "hsl": {
    "h": 52.8,
    "s": 64.767,
    "l": 37.843
  },
  "oklch": {
    "l": 0.6476,
    "c": 0.12429,
    "h": 101.1
  },
  "luminance": 0.27433
}

Semantic roles & 50–950 ramp

primary
#9F9022
secondary
#5B68C1
accent
#54E840
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9F9022

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

Preview Lab → · Contrast checker → · Palette generator →

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