#9E901F#9E901F

#9E901F is a light, vivid yellow. Relative luminance 0.273; OKLCH L 64.6% C 0.126 H 101.8°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#9E901F
RGBrgb(158, 144, 31)
HSLhsl(53, 67%, 37%)
HSVhsv(53, 80%, 62%)
CMYKcmyk(0%, 8.9%, 80.4%, 38%)
CIE-LABlab(59.27, -6.98, 56.80)
CIE-LCHlch(59.27, 57.23, 97.01°)
OKLaboklab(64.65% -0.0258 0.1232)
OKLCHoklch(64.65% 0.126 101.8)
XYZxyz(24.3223, 27.3157, 5.2874)
Luminance0.2732 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E901F #1F2D9E
analogous
#9E511F #9E901F #6D9E1F
triadic
#9E901F #1F9E90 #901F9E
tetradic
#9E901F #1F9E51 #1F2D9E #9E1F6D
square
#9E901F #1F9E51 #1F2D9E #9E1F6D
split-complementary
#9E901F #1F6D9E #511F9E
monochromatic
#38330B #6B6115 #9E901F #D1BF29 #DED059

Accessibility & contrast

On white

3.25
#9E901F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#9E901F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E901F
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E901F#FFFFFF#000000##000000
##9E901F1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B00
Deuteranopia (green-blind)
#A29128
Tritanopia (blue-blind)
#AB857B
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #9e901f;
/* rgb */ color: rgb(158, 144, 31);
/* oklch */ color: oklch(64.6% 0.126 101.8);
Tailwind
colors: {
  custom: {
    50: '#bfb065',
    500: '#9e901f',
    950: '#000000',
  },
}
SCSS
$custom: #9e901f;
$custom-light: #bfb065;
$custom-dark: #000000;
JSON
{
  "hex": "#9e901f",
  "rgb": {
    "r": 158,
    "g": 144,
    "b": 31
  },
  "hsl": {
    "h": 53.386,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.64647,
    "c": 0.12587,
    "h": 101.8
  },
  "luminance": 0.27315
}

Semantic roles & 50–950 ramp

primary
#9E901F
secondary
#5662C2
accent
#51EA3E
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9E901F

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

Preview Lab → · Contrast checker → · Palette generator →

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