#9D901C#9D901C

#9D901C is a light, vivid yellow. Relative luminance 0.272; OKLCH L 64.5% C 0.127 H 102.5°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#9D901C
RGBrgb(157, 144, 28)
HSLhsl(54, 70%, 36%)
HSVhsv(54, 82%, 62%)
CMYKcmyk(0%, 8.3%, 82.2%, 38.4%)
CIE-LABlab(59.16, -7.54, 57.59)
CIE-LCHlch(59.16, 58.08, 97.46°)
OKLaboklab(64.54% -0.0275 0.1244)
OKLCHoklch(64.54% 0.127 102.5)
XYZxyz(24.0886, 27.1996, 5.0796)
Luminance0.2720 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D901C #1C299D
analogous
#9D4F1C #9D901C #6A9D1C
triadic
#9D901C #1C9D90 #901C9D
tetradic
#9D901C #1C9D4F #1C299D #9D1C6A
square
#9D901C #1C9D4F #1C299D #9D1C6A
split-complementary
#9D901C #1C6A9D #4F1C9D
monochromatic
#353109 #696013 #9D901C #D1C025 #E0D253

Accessibility & contrast

On white

3.26
#9D901C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#9D901C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D901C
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D901C#FFFFFF#000000##000000
##9D901C1.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B00
Deuteranopia (green-blind)
#A29126
Tritanopia (blue-blind)
#AA857B
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9d901c;
/* rgb */ color: rgb(157, 144, 28);
/* oklch */ color: oklch(64.5% 0.127 102.5);
Tailwind
colors: {
  custom: {
    50: '#beb064',
    500: '#9d901c',
    950: '#000000',
  },
}
SCSS
$custom: #9d901c;
$custom-light: #beb064;
$custom-dark: #000000;
JSON
{
  "hex": "#9d901c",
  "rgb": {
    "r": 157,
    "g": 144,
    "b": 28
  },
  "hsl": {
    "h": 53.953,
    "s": 69.73,
    "l": 36.275
  },
  "oklch": {
    "l": 0.64535,
    "c": 0.12736,
    "h": 102.5
  },
  "luminance": 0.27198
}

Semantic roles & 50–950 ramp

primary
#9D901C
secondary
#515DC3
accent
#4DED3B
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9D901C

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

Preview Lab → · Contrast checker → · Palette generator →

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