#9A9D1E#9A9D1E

#9A9D1E is a light, vivid yellow. Relative luminance 0.311; OKLCH L 67.2% C 0.139 H 111.1°. Best body text is #000000 at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#9A9D1E
RGBrgb(154, 157, 30)
HSLhsl(61, 68%, 37%)
HSVhsv(61, 81%, 62%)
CMYKcmyk(1.9%, 0%, 80.9%, 38.4%)
CIE-LABlab(62.57, -15.70, 59.89)
CIE-LCHlch(62.57, 61.91, 104.69°)
OKLaboklab(67.2% -0.05 0.1298)
OKLCHoklch(67.2% 0.139 111.1)
XYZxyz(25.6187, 31.0784, 5.8773)
Luminance0.3108 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9A9D1E #211E9D
analogous
#9D611E #9A9D1E #5B9D1E
triadic
#9A9D1E #1E9A9D #9D1E9A
tetradic
#9A9D1E #1E9D61 #211E9D #9D1E5B
square
#9A9D1E #1E9D61 #211E9D #9D1E5B
split-complementary
#9A9D1E #1E5B9D #611E9D
monochromatic
#35360A #686A14 #9A9D1E #CCD028 #DCDF57

Accessibility & contrast

On white

2.91
#9A9D1E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.22
#9A9D1E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9A9D1E
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9A9D1E#FFFFFF#000000##000000
##9A9D1E1.002.917.227.22
#FFFFFF2.911.0021.0021.00
#0000007.2221.001.001.00
##0000007.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#AB992A
Tritanopia (blue-blind)
#A59386
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #9a9d1e;
/* rgb */ color: rgb(154, 157, 30);
/* oklch */ color: oklch(67.2% 0.139 111.1);
Tailwind
colors: {
  custom: {
    50: '#bbb967',
    500: '#9a9d1e',
    950: '#000000',
  },
}
SCSS
$custom: #9a9d1e;
$custom-light: #bbb967;
$custom-dark: #000000;
JSON
{
  "hex": "#9a9d1e",
  "rgb": {
    "r": 154,
    "g": 157,
    "b": 30
  },
  "hsl": {
    "h": 61.417,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.67198,
    "c": 0.13911,
    "h": 111.1
  },
  "luminance": 0.31078
}

Semantic roles & 50–950 ramp

primary
#9A9D1E
secondary
#5754C2
accent
#3DEB41
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #9A9D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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