#9D9D1E#9D9D1E

#9D9D1E is a light, vivid yellow. Relative luminance 0.314; OKLCH L 67.5% C 0.138 H 109.6°. Best body text is #000000 at 7.28:1 contrast (WCAG AA passes).

Color values

HEX#9D9D1E
RGBrgb(157, 157, 30)
HSLhsl(60, 68%, 37%)
HSVhsv(60, 81%, 62%)
CMYKcmyk(0%, 0%, 80.9%, 38.4%)
CIE-LABlab(62.82, -14.37, 60.20)
CIE-LCHlch(62.82, 61.89, 103.42°)
OKLaboklab(67.46% -0.0464 0.1304)
OKLCHoklch(67.46% 0.138 109.6)
XYZxyz(26.1970, 31.3766, 5.9044)
Luminance0.3138 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9D1E #1E1E9D
analogous
#9D5E1E #9D9D1E #5E9D1E
triadic
#9D9D1E #1E9D9D #9D1E9D
tetradic
#9D9D1E #1E9D5E #1E1E9D #9D1E5E
square
#9D9D1E #1E9D5E #1E1E9D #9D1E5E
split-complementary
#9D9D1E #1E5E9D #5E1E9D
monochromatic
#36360A #6A6A14 #9D9D1E #D0D028 #DFDF57

Accessibility & contrast

On white

2.89
#9D9D1E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.28
#9D9D1E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D9D1E
7.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9D1E#FFFFFF#000000##000000
##9D9D1E1.002.897.287.28
#FFFFFF2.891.0021.0021.00
#0000007.2821.001.001.00
##0000007.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#AC9A2A
Tritanopia (blue-blind)
#A99286
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #9d9d1e;
/* rgb */ color: rgb(157, 157, 30);
/* oklch */ color: oklch(67.5% 0.138 109.6);
Tailwind
colors: {
  custom: {
    50: '#beb967',
    500: '#9d9d1e',
    950: '#000000',
  },
}
SCSS
$custom: #9d9d1e;
$custom-light: #beb967;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9d1e",
  "rgb": {
    "r": 157,
    "g": 157,
    "b": 30
  },
  "hsl": {
    "h": 60,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.6746,
    "c": 0.1384,
    "h": 109.6
  },
  "luminance": 0.31376
}

Semantic roles & 50–950 ramp

primary
#9D9D1E
secondary
#5454C2
accent
#3DEB3D
background
#FCFBF6
surface
#F8F6EB
border
#D1D0C6
text
#131107
muted
#82807A

Preview Lab

Preview with #9D9D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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