#9D9124#9D9124

#9D9124 is a light, vivid yellow. Relative luminance 0.275; OKLCH L 64.8% C 0.124 H 102.8°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#9D9124
RGBrgb(157, 145, 36)
HSLhsl(54, 63%, 38%)
HSVhsv(54, 77%, 62%)
CMYKcmyk(0%, 7.6%, 77.1%, 38.4%)
CIE-LABlab(59.48, -7.78, 55.30)
CIE-LCHlch(59.48, 55.85, 98.01°)
OKLaboklab(64.8% -0.0275 0.1211)
OKLCHoklch(64.8% 0.124 102.8)
XYZxyz(24.3496, 27.5473, 5.7033)
Luminance0.2755 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9124 #24309D
analogous
#9D5524 #9D9124 #6C9D24
triadic
#9D9124 #249D91 #91249D
tetradic
#9D9124 #249D55 #24309D #9D246C
square
#9D9124 #249D55 #24309D #9D246C
split-complementary
#9D9124 #246C9D #55249D
monochromatic
#39350D #6B6319 #9D9124 #CFBF2F #DBCF61

Accessibility & contrast

On white

3.23
#9D9124 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#9D9124 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D9124
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9124#FFFFFF#000000##000000
##9D91241.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8C0C
Deuteranopia (green-blind)
#A2922C
Tritanopia (blue-blind)
#A9867C
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #9d9124;
/* rgb */ color: rgb(157, 145, 36);
/* oklch */ color: oklch(64.8% 0.124 102.8);
Tailwind
colors: {
  custom: {
    50: '#beb068',
    500: '#9d9124',
    950: '#000000',
  },
}
SCSS
$custom: #9d9124;
$custom-light: #beb068;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9124",
  "rgb": {
    "r": 157,
    "g": 145,
    "b": 36
  },
  "hsl": {
    "h": 54.05,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.64802,
    "c": 0.12413,
    "h": 102.8
  },
  "luminance": 0.27546
}

Semantic roles & 50–950 ramp

primary
#9D9124
secondary
#5D67C0
accent
#52E642
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #9D9124

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

Preview Lab → · Contrast checker → · Palette generator →

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