#9B901E#9B901E

#9B901E is a light, vivid yellow. Relative luminance 0.270; OKLCH L 64.4% C 0.127 H 103.5°. Best body text is #000000 at 6.40:1 contrast (WCAG AA passes).

Color values

HEX#9B901E
RGBrgb(155, 144, 30)
HSLhsl(55, 68%, 36%)
HSVhsv(55, 81%, 61%)
CMYKcmyk(0%, 7.1%, 80.6%, 39.2%)
CIE-LABlab(58.98, -8.38, 56.76)
CIE-LCHlch(58.98, 57.37, 98.40°)
OKLaboklab(64.35% -0.0296 0.1231)
OKLCHoklch(64.35% 0.127 103.5)
XYZxyz(23.7263, 27.0098, 5.1917)
Luminance0.2701 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9B901E #1E299B
analogous
#9B521E #9B901E #689B1E
triadic
#9B901E #1E9B90 #901E9B
tetradic
#9B901E #1E9B52 #1E299B #9B1E68
square
#9B901E #1E9B52 #1E299B #9B1E68
split-complementary
#9B901E #1E689B #521E9B
monochromatic
#34310A #686014 #9B901E #CEC028 #DED255

Accessibility & contrast

On white

3.28
#9B901E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.40
#9B901E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9B901E
6.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9B901E#FFFFFF#000000##000000
##9B901E1.003.286.406.40
#FFFFFF3.281.0021.0021.00
#0000006.4021.001.001.00
##0000006.4021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #9b901e;
/* rgb */ color: rgb(155, 144, 30);
/* oklch */ color: oklch(64.4% 0.127 103.5);
Tailwind
colors: {
  custom: {
    50: '#bcb065',
    500: '#9b901e',
    950: '#000000',
  },
}
SCSS
$custom: #9b901e;
$custom-light: #bcb065;
$custom-dark: #000000;
JSON
{
  "hex": "#9b901e",
  "rgb": {
    "r": 155,
    "g": 144,
    "b": 30
  },
  "hsl": {
    "h": 54.72,
    "s": 67.568,
    "l": 36.275
  },
  "oklch": {
    "l": 0.64355,
    "c": 0.12657,
    "h": 103.5
  },
  "luminance": 0.27009
}

Semantic roles & 50–950 ramp

primary
#9B901E
secondary
#535DC2
accent
#4DEA3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #9B901E

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

Preview Lab → · Contrast checker → · Palette generator →

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