#9E941F#9E941F

#9E941F is a light, vivid yellow. Relative luminance 0.285; OKLCH L 65.5% C 0.129 H 104.2°. Best body text is #000000 at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#9E941F
RGBrgb(158, 148, 31)
HSLhsl(55, 67%, 37%)
HSVhsv(55, 80%, 62%)
CMYKcmyk(0%, 6.3%, 80.4%, 38%)
CIE-LABlab(60.38, -9.13, 57.79)
CIE-LCHlch(60.38, 58.51, 98.98°)
OKLaboklab(65.53% -0.0318 0.1253)
OKLCHoklch(65.53% 0.129 104.2)
XYZxyz(24.9389, 28.5489, 5.4929)
Luminance0.2855 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E941F #1F299E
analogous
#9E551F #9E941F #689E1F
triadic
#9E941F #1F9E94 #941F9E
tetradic
#9E941F #1F9E55 #1F299E #9E1F68
square
#9E941F #1F9E55 #1F299E #9E1F68
split-complementary
#9E941F #1F689E #551F9E
monochromatic
#38340B #6B6415 #9E941F #D1C429 #DED459

Accessibility & contrast

On white

3.13
#9E941F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.71
#9E941F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E941F
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E941F#FFFFFF#000000##000000
##9E941F1.003.136.716.71
#FFFFFF3.131.0021.0021.00
#0000006.7121.001.001.00
##0000006.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F00
Deuteranopia (green-blind)
#A59429
Tritanopia (blue-blind)
#AA897F
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #9e941f;
/* rgb */ color: rgb(158, 148, 31);
/* oklch */ color: oklch(65.5% 0.129 104.2);
Tailwind
colors: {
  custom: {
    50: '#beb366',
    500: '#9e941f',
    950: '#000000',
  },
}
SCSS
$custom: #9e941f;
$custom-light: #beb366;
$custom-dark: #000000;
JSON
{
  "hex": "#9e941f",
  "rgb": {
    "r": 158,
    "g": 148,
    "b": 31
  },
  "hsl": {
    "h": 55.276,
    "s": 67.196,
    "l": 37.059
  },
  "oklch": {
    "l": 0.65534,
    "c": 0.12931,
    "h": 104.2
  },
  "luminance": 0.28548
}

Semantic roles & 50–950 ramp

primary
#9E941F
secondary
#565FC2
accent
#4BEA3E
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#131006
muted
#827F7A

Preview Lab

Preview with #9E941F

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

Preview Lab → · Contrast checker → · Palette generator →

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