#9D9E1B#9D9E1B

#9D9E1B is a light, vivid yellow. Relative luminance 0.317; OKLCH L 67.7% C 0.141 H 110.1°. Best body text is #000000 at 7.34:1 contrast (WCAG AA passes).

Color values

HEX#9D9E1B
RGBrgb(157, 158, 27)
HSLhsl(60, 71%, 36%)
HSVhsv(60, 83%, 62%)
CMYKcmyk(0.6%, 0%, 82.9%, 38%)
CIE-LABlab(63.10, -14.99, 61.25)
CIE-LCHlch(63.10, 63.06, 103.75°)
OKLaboklab(67.67% -0.0484 0.1321)
OKLCHoklch(67.67% 0.141 110.1)
XYZxyz(26.3303, 31.7017, 5.7688)
Luminance0.3170 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9E1B #1C1B9E
analogous
#9E5E1B #9D9E1B #5C9E1B
triadic
#9D9E1B #1B9D9E #9E1B9D
tetradic
#9D9E1B #1B9E5E #1C1B9E #9E1B5C
square
#9D9E1B #1B9E5E #1C1B9E #9E1B5C
split-complementary
#9D9E1B #1B5C9E #5E1B9E
monochromatic
#353509 #696A12 #9D9E1B #D1D224 #E0E152

Accessibility & contrast

On white

2.86
#9D9E1B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.34
#9D9E1B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D9E1B
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9E1B#FFFFFF#000000##000000
##9D9E1B1.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9700
Deuteranopia (green-blind)
#AD9A28
Tritanopia (blue-blind)
#A99387
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #9d9e1b;
/* rgb */ color: rgb(157, 158, 27);
/* oklch */ color: oklch(67.7% 0.141 110.1);
Tailwind
colors: {
  custom: {
    50: '#beba66',
    500: '#9d9e1b',
    950: '#000000',
  },
}
SCSS
$custom: #9d9e1b;
$custom-light: #beba66;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9e1b",
  "rgb": {
    "r": 157,
    "g": 158,
    "b": 27
  },
  "hsl": {
    "h": 60.458,
    "s": 70.811,
    "l": 36.275
  },
  "oklch": {
    "l": 0.67673,
    "c": 0.14067,
    "h": 110.1
  },
  "luminance": 0.31701
}

Semantic roles & 50–950 ramp

primary
#9D9E1B
secondary
#5151C4
accent
#3AEE3C
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131106
muted
#82807A

Preview Lab

Preview with #9D9E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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