#9D8623#9D8623

#9D8623 is a light, moderate yellow. Relative luminance 0.243; OKLCH L 62.4% C 0.116 H 95.3°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#9D8623
RGBrgb(157, 134, 35)
HSLhsl(49, 64%, 38%)
HSVhsv(49, 78%, 62%)
CMYKcmyk(0%, 14.6%, 77.7%, 38.4%)
CIE-LABlab(56.43, -1.81, 52.83)
CIE-LCHlch(56.43, 52.86, 91.97°)
OKLaboklab(62.38% -0.0107 0.1156)
OKLCHoklch(62.38% 0.116 95.3)
XYZxyz(22.7343, 24.3409, 5.0906)
Luminance0.2434 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D8623 #233A9D
analogous
#9D4923 #9D8623 #779D23
triadic
#9D8623 #239D86 #86239D
tetradic
#9D8623 #239D49 #233A9D #9D2377
square
#9D8623 #239D49 #233A9D #9D2377
split-complementary
#9D8623 #23779D #49239D
monochromatic
#39310D #6B5B18 #9D8623 #CFB12E #DBC45F

Accessibility & contrast

On white

3.58
#9D8623 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#9D8623 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D8623
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D8623#FFFFFF#000000##000000
##9D86231.003.585.875.87
#FFFFFF3.581.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#95830F
Deuteranopia (green-blind)
#9A8A29
Tritanopia (blue-blind)
#AA7B73
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #9d8623;
/* rgb */ color: rgb(157, 134, 35);
/* oklch */ color: oklch(62.4% 0.116 95.3);
Tailwind
colors: {
  custom: {
    50: '#bea866',
    500: '#9d8623',
    950: '#000000',
  },
}
SCSS
$custom: #9d8623;
$custom-light: #bea866;
$custom-dark: #000000;
JSON
{
  "hex": "#9d8623",
  "rgb": {
    "r": 157,
    "g": 134,
    "b": 35
  },
  "hsl": {
    "h": 48.689,
    "s": 63.542,
    "l": 37.647
  },
  "oklch": {
    "l": 0.62381,
    "c": 0.11607,
    "h": 95.3
  },
  "luminance": 0.2434
}

Semantic roles & 50–950 ramp

primary
#9D8623
secondary
#5C6FC0
accent
#60E741
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9D8623

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

Preview Lab → · Contrast checker → · Palette generator →

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