#9D8124#9D8124

#9D8124 is a mid, moderate yellow. Relative luminance 0.230; OKLCH L 61.3% C 0.112 H 91.3°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#9D8124
RGBrgb(157, 129, 36)
HSLhsl(46, 63%, 38%)
HSVhsv(46, 77%, 62%)
CMYKcmyk(0%, 17.8%, 77.1%, 38.4%)
CIE-LABlab(55.07, 1.01, 51.18)
CIE-LCHlch(55.07, 51.19, 88.87°)
OKLaboklab(61.31% -0.0026 0.1123)
OKLCHoklch(61.31% 0.112 91.3)
XYZxyz(22.0746, 22.9974, 4.9450)
Luminance0.2300 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D8124 #24409D
analogous
#9D4524 #9D8124 #7C9D24
triadic
#9D8124 #249D81 #81249D
tetradic
#9D8124 #249D45 #24409D #9D247C
square
#9D8124 #249D45 #24409D #9D247C
split-complementary
#9D8124 #247C9D #45249D
monochromatic
#392F0D #6B5819 #9D8124 #CFAA2F #DBBE61

Accessibility & contrast

On white

3.75
#9D8124 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#9D8124 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D8124
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D8124#FFFFFF#000000##000000
##9D81241.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F13
Deuteranopia (green-blind)
#978729
Tritanopia (blue-blind)
#AA766F
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #9d8124;
/* rgb */ color: rgb(157, 129, 36);
/* oklch */ color: oklch(61.3% 0.112 91.3);
Tailwind
colors: {
  custom: {
    50: '#bea566',
    500: '#9d8124',
    950: '#000000',
  },
}
SCSS
$custom: #9d8124;
$custom-light: #bea566;
$custom-dark: #000000;
JSON
{
  "hex": "#9d8124",
  "rgb": {
    "r": 157,
    "g": 129,
    "b": 36
  },
  "hsl": {
    "h": 46.116,
    "s": 62.694,
    "l": 37.843
  },
  "oklch": {
    "l": 0.6131,
    "c": 0.11229,
    "h": 91.3
  },
  "luminance": 0.22996
}

Semantic roles & 50–950 ramp

primary
#9D8124
secondary
#5D74C0
accent
#68E642
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9D8124

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

Preview Lab → · Contrast checker → · Palette generator →

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