#9D9225#9D9225

#9D9225 is a light, vivid yellow. Relative luminance 0.279; OKLCH L 65.0% C 0.124 H 103.4°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#9D9225
RGBrgb(157, 146, 37)
HSLhsl(55, 62%, 38%)
HSVhsv(55, 76%, 62%)
CMYKcmyk(0%, 7%, 76.4%, 38.4%)
CIE-LABlab(59.76, -8.27, 55.22)
CIE-LCHlch(59.76, 55.83, 98.52°)
OKLaboklab(65.03% -0.0288 0.1211)
OKLCHoklch(65.03% 0.124 103.4)
XYZxyz(24.5185, 27.8605, 5.8360)
Luminance0.2786 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9225 #25309D
analogous
#9D5625 #9D9225 #6C9D25
triadic
#9D9225 #259D92 #92259D
tetradic
#9D9225 #259D56 #25309D #9D256C
square
#9D9225 #259D56 #25309D #9D256C
split-complementary
#9D9225 #256C9D #56259D
monochromatic
#3A360E #6B6419 #9D9225 #CEC031 #DACF62

Accessibility & contrast

On white

3.20
#9D9225 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.57
#9D9225 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D9225
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9225#FFFFFF#000000##000000
##9D92251.003.206.576.57
#FFFFFF3.201.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D0E
Deuteranopia (green-blind)
#A3922D
Tritanopia (blue-blind)
#A9877D
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #9d9225;
/* rgb */ color: rgb(157, 146, 37);
/* oklch */ color: oklch(65.0% 0.124 103.4);
Tailwind
colors: {
  custom: {
    50: '#beb168',
    500: '#9d9225',
    950: '#000000',
  },
}
SCSS
$custom: #9d9225;
$custom-light: #beb168;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9225",
  "rgb": {
    "r": 157,
    "g": 146,
    "b": 37
  },
  "hsl": {
    "h": 54.5,
    "s": 61.856,
    "l": 38.039
  },
  "oklch": {
    "l": 0.6503,
    "c": 0.12445,
    "h": 103.4
  },
  "luminance": 0.27859
}

Semantic roles & 50–950 ramp

primary
#9D9225
secondary
#5E67BF
accent
#52E543
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #9D9225

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

Preview Lab → · Contrast checker → · Palette generator →

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