#9D8629#9D8629

#9D8629 is a light, moderate yellow. Relative luminance 0.244; OKLCH L 62.4% C 0.112 H 94.7°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#9D8629
RGBrgb(157, 134, 41)
HSLhsl(48, 59%, 39%)
HSVhsv(48, 74%, 62%)
CMYKcmyk(0%, 14.6%, 73.9%, 38.4%)
CIE-LABlab(56.47, -1.54, 50.56)
CIE-LCHlch(56.47, 50.59, 91.74°)
OKLaboklab(62.42% -0.0093 0.112)
OKLCHoklch(62.42% 0.112 94.7)
XYZxyz(22.8312, 24.3797, 5.6006)
Luminance0.2438 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D8629 #29409D
analogous
#9D4C29 #9D8629 #7A9D29
triadic
#9D8629 #299D86 #86299D
tetradic
#9D8629 #299D4C #29409D #9D297A
square
#9D8629 #299D4C #29409D #9D297A
split-complementary
#9D8629 #297A9D #4C299D
monochromatic
#3C3310 #6C5D1C #9D8629 #CBAE38 #D8C269

Accessibility & contrast

On white

3.57
#9D8629 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#9D8629 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D8629
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D8629#FFFFFF#000000##000000
##9D86291.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#94831A
Deuteranopia (green-blind)
#9A8A2E
Tritanopia (blue-blind)
#AA7B74
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9d8629;
/* rgb */ color: rgb(157, 134, 41);
/* oklch */ color: oklch(62.4% 0.112 94.7);
Tailwind
colors: {
  custom: {
    50: '#bea869',
    500: '#9d8629',
    950: '#000000',
  },
}
SCSS
$custom: #9d8629;
$custom-light: #bea869;
$custom-dark: #000000;
JSON
{
  "hex": "#9d8629",
  "rgb": {
    "r": 157,
    "g": 134,
    "b": 41
  },
  "hsl": {
    "h": 48.103,
    "s": 58.586,
    "l": 38.824
  },
  "oklch": {
    "l": 0.62424,
    "c": 0.11236,
    "h": 94.7
  },
  "luminance": 0.24378
}

Semantic roles & 50–950 ramp

primary
#9D8629
secondary
#6476BE
accent
#65E246
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F07
muted
#827F7A

Preview Lab

Preview with #9D8629

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

Preview Lab → · Contrast checker → · Palette generator →

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