#9D9E2B#9D9E2B

#9D9E2B is a light, vivid yellow. Relative luminance 0.318; OKLCH L 67.8% C 0.132 H 110.0°. Best body text is #000000 at 7.36:1 contrast (WCAG AA passes).

Color values

HEX#9D9E2B
RGBrgb(157, 158, 43)
HSLhsl(61, 57%, 39%)
HSVhsv(61, 73%, 62%)
CMYKcmyk(0.6%, 0%, 72.8%, 38%)
CIE-LABlab(63.17, -14.35, 56.30)
CIE-LCHlch(63.17, 58.10, 104.30°)
OKLaboklab(67.76% -0.0452 0.1245)
OKLCHoklch(67.76% 0.132 110)
XYZxyz(26.5685, 31.7970, 7.0229)
Luminance0.3180 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9E2B #2C2B9E
analogous
#9E662B #9D9E2B #649E2B
triadic
#9D9E2B #2B9D9E #9E2B9D
tetradic
#9D9E2B #2B9E66 #2C2B9E #9E2B64
square
#9D9E2B #2B9E66 #2C2B9E #9E2B64
split-complementary
#9D9E2B #2B649E #662B9E
monochromatic
#3D3E11 #6D6E1E #9D9E2B #C9CA3C #D6D76C

Accessibility & contrast

On white

2.85
#9D9E2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.36
#9D9E2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D9E2B
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9E2B#FFFFFF#000000##000000
##9D9E2B1.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9715
Deuteranopia (green-blind)
#AC9B34
Tritanopia (blue-blind)
#A89488
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #9d9e2b;
/* rgb */ color: rgb(157, 158, 43);
/* oklch */ color: oklch(67.8% 0.132 110.0);
Tailwind
colors: {
  custom: {
    50: '#bdba6d',
    500: '#9d9e2b',
    950: '#000000',
  },
}
SCSS
$custom: #9d9e2b;
$custom-light: #bdba6d;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9e2b",
  "rgb": {
    "r": 157,
    "g": 158,
    "b": 43
  },
  "hsl": {
    "h": 60.522,
    "s": 57.214,
    "l": 39.412
  },
  "oklch": {
    "l": 0.67761,
    "c": 0.13246,
    "h": 110
  },
  "luminance": 0.31796
}

Semantic roles & 50–950 ramp

primary
#9D9E2B
secondary
#6867BE
accent
#47E049
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #9D9E2B

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

Preview Lab → · Contrast checker → · Palette generator →

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