#9D8630#9D8630

#9D8630 is a light, moderate yellow. Relative luminance 0.244; OKLCH L 62.5% C 0.107 H 93.9°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#9D8630
RGBrgb(157, 134, 48)
HSLhsl(47, 53%, 40%)
HSVhsv(47, 69%, 62%)
CMYKcmyk(0%, 14.6%, 69.4%, 38.4%)
CIE-LABlab(56.52, -1.16, 47.67)
CIE-LCHlch(56.52, 47.68, 91.40°)
OKLaboklab(62.48% -0.0074 0.1072)
OKLCHoklch(62.48% 0.107 93.9)
XYZxyz(22.9644, 24.4329, 6.3022)
Luminance0.2443 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D8630 #30479D
analogous
#9D4F30 #9D8630 #7E9D30
triadic
#9D8630 #309D86 #86309D
tetradic
#9D8630 #309D4F #30479D #9D307E
square
#9D8630 #309D4F #30479D #9D307E
split-complementary
#9D8630 #307E9D #4F309D
monochromatic
#3F3613 #6E5E22 #9D8630 #C6AB44 #D4C073

Accessibility & contrast

On white

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

On black

5.89
#9D8630 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D8630
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D8630#FFFFFF#000000##000000
##9D86301.003.575.895.89
#FFFFFF3.571.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#948425
Deuteranopia (green-blind)
#9A8A34
Tritanopia (blue-blind)
#AA7C74
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #9d8630;
/* rgb */ color: rgb(157, 134, 48);
/* oklch */ color: oklch(62.5% 0.107 93.9);
Tailwind
colors: {
  custom: {
    50: '#bda86d',
    500: '#9d8630',
    950: '#000000',
  },
}
SCSS
$custom: #9d8630;
$custom-light: #bda86d;
$custom-dark: #000000;
JSON
{
  "hex": "#9d8630",
  "rgb": {
    "r": 157,
    "g": 134,
    "b": 48
  },
  "hsl": {
    "h": 47.339,
    "s": 53.171,
    "l": 40.196
  },
  "oklch": {
    "l": 0.62482,
    "c": 0.10742,
    "h": 93.9
  },
  "luminance": 0.24432
}

Semantic roles & 50–950 ramp

primary
#9D8630
secondary
#6D7DBC
accent
#6ADD4B
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #9D8630

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

Preview Lab → · Contrast checker → · Palette generator →

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