#9F9023#9F9023

#9F9023 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#9F9023
RGBrgb(159, 144, 35)
HSLhsl(53, 64%, 38%)
HSVhsv(53, 78%, 62%)
CMYKcmyk(0%, 9.4%, 78%, 37.6%)
CIE-LABlab(59.38, -6.37, 55.62)
CIE-LCHlch(59.38, 55.99, 96.54°)
OKLaboklab(64.77% -0.0237 0.1215)
OKLCHoklch(64.77% 0.124 101.1)
XYZxyz(24.5759, 27.4399, 5.5917)
Luminance0.2744 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F9023 #23329F
analogous
#9F5223 #9F9023 #709F23
triadic
#9F9023 #239F90 #90239F
tetradic
#9F9023 #239F52 #23329F #9F2370
square
#9F9023 #239F52 #23329F #9F2370
split-complementary
#9F9023 #23709F #52239F
monochromatic
#3B350D #6D6318 #9F9023 #D1BD2E #DCCD60

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9F9023#FFFFFF#000000##000000
##9F90231.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)
#9E8C0A
Deuteranopia (green-blind)
#A2922B
Tritanopia (blue-blind)
#AC857B
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #9f9023;
/* rgb */ color: rgb(159, 144, 35);
/* oklch */ color: oklch(64.8% 0.124 101.1);
Tailwind
colors: {
  custom: {
    50: '#bfb067',
    500: '#9f9023',
    950: '#000000',
  },
}
SCSS
$custom: #9f9023;
$custom-light: #bfb067;
$custom-dark: #000000;
JSON
{
  "hex": "#9f9023",
  "rgb": {
    "r": 159,
    "g": 144,
    "b": 35
  },
  "hsl": {
    "h": 52.742,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.64766,
    "c": 0.12375,
    "h": 101.1
  },
  "luminance": 0.27439
}

Semantic roles & 50–950 ramp

primary
#9F9023
secondary
#5D69C1
accent
#55E741
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9F9023

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

Preview Lab → · Contrast checker → · Palette generator →

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