#9D9427#9D9427

#9D9427 is a light, vivid yellow. Relative luminance 0.285; OKLCH L 65.5% C 0.125 H 104.5°. Best body text is #000000 at 6.70:1 contrast (WCAG AA passes).

Color values

HEX#9D9427
RGBrgb(157, 148, 39)
HSLhsl(55, 60%, 38%)
HSVhsv(55, 75%, 62%)
CMYKcmyk(0%, 5.7%, 75.2%, 38.4%)
CIE-LABlab(60.33, -9.26, 55.04)
CIE-LCHlch(60.33, 55.81, 99.55°)
OKLaboklab(65.49% -0.0314 0.1211)
OKLCHoklch(65.49% 0.125 104.5)
XYZxyz(24.8618, 28.4954, 6.1096)
Luminance0.2849 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D9427 #27309D
analogous
#9D5927 #9D9427 #6B9D27
triadic
#9D9427 #279D94 #94279D
tetradic
#9D9427 #279D59 #27309D #9D276B
square
#9D9427 #279D59 #27309D #9D276B
split-complementary
#9D9427 #276B9D #59279D
monochromatic
#3B380F #6C661B #9D9427 #CDC135 #D9D066

Accessibility & contrast

On white

3.13
#9D9427 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.70
#9D9427 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D9427
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D9427#FFFFFF#000000##000000
##9D94271.003.136.706.70
#FFFFFF3.131.0021.0021.00
#0000006.7021.001.001.00
##0000006.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A28F11
Deuteranopia (green-blind)
#A5942F
Tritanopia (blue-blind)
#A98A7F
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #9d9427;
/* rgb */ color: rgb(157, 148, 39);
/* oklch */ color: oklch(65.5% 0.125 104.5);
Tailwind
colors: {
  custom: {
    50: '#bdb36a',
    500: '#9d9427',
    950: '#000000',
  },
}
SCSS
$custom: #9d9427;
$custom-light: #bdb36a;
$custom-dark: #000000;
JSON
{
  "hex": "#9d9427",
  "rgb": {
    "r": 157,
    "g": 148,
    "b": 39
  },
  "hsl": {
    "h": 55.424,
    "s": 60.204,
    "l": 38.431
  },
  "oklch": {
    "l": 0.65488,
    "c": 0.12508,
    "h": 104.5
  },
  "luminance": 0.28494
}

Semantic roles & 50–950 ramp

primary
#9D9427
secondary
#6168BF
accent
#51E344
background
#FCFAF6
surface
#F8F5EB
border
#D1CFC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #9D9427

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

Preview Lab → · Contrast checker → · Palette generator →

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