#9E921F#9E921F

#9E921F is a light, vivid yellow. Relative luminance 0.279; OKLCH L 65.1% C 0.128 H 103.0°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#9E921F
RGBrgb(158, 146, 31)
HSLhsl(54, 67%, 37%)
HSVhsv(54, 80%, 62%)
CMYKcmyk(0%, 7.6%, 80.4%, 38%)
CIE-LABlab(59.82, -8.06, 57.30)
CIE-LCHlch(59.82, 57.86, 98.01°)
OKLaboklab(65.09% -0.0288 0.1243)
OKLCHoklch(65.09% 0.128 103)
XYZxyz(24.6279, 27.9269, 5.3892)
Luminance0.2793 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E921F #1F2B9E
analogous
#9E531F #9E921F #6A9E1F
triadic
#9E921F #1F9E92 #921F9E
tetradic
#9E921F #1F9E53 #1F2B9E #9E1F6A
square
#9E921F #1F9E53 #1F2B9E #9E1F6A
split-complementary
#9E921F #1F6A9E #531F9E
monochromatic
#38330B #6B6315 #9E921F #D1C129 #DED259

Accessibility & contrast

On white

3.19
#9E921F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#9E921F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E921F
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E921F#FFFFFF#000000##000000
##9E921F1.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D00
Deuteranopia (green-blind)
#A49328
Tritanopia (blue-blind)
#AB877D
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9e921f;
/* rgb */ color: rgb(158, 146, 31);
/* oklch */ color: oklch(65.1% 0.128 103.0);
Tailwind
colors: {
  custom: {
    50: '#bfb166',
    500: '#9e921f',
    950: '#000000',
  },
}
SCSS
$custom: #9e921f;
$custom-light: #bfb166;
$custom-dark: #000000;
JSON
{
  "hex": "#9e921f",
  "rgb": {
    "r": 158,
    "g": 146,
    "b": 31
  },
  "hsl": {
    "h": 54.331,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.6509,
    "c": 0.12757,
    "h": 103
  },
  "luminance": 0.27926
}

Semantic roles & 50–950 ramp

primary
#9E921F
secondary
#5661C2
accent
#4EEA3E
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9E921F

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

Preview Lab → · Contrast checker → · Palette generator →

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