#9D831E#9D831E

#9D831E is a mid, moderate yellow. Relative luminance 0.235; OKLCH L 61.7% C 0.117 H 93.5°. Best body text is #000000 at 5.70:1 contrast (WCAG AA passes).

Color values

HEX#9D831E
RGBrgb(157, 131, 30)
HSLhsl(48, 68%, 37%)
HSVhsv(48, 81%, 62%)
CMYKcmyk(0%, 16.6%, 80.9%, 38.4%)
CIE-LABlab(55.58, -0.35, 53.80)
CIE-LCHlch(55.58, 53.80, 90.37°)
OKLaboklab(61.7% -0.0071 0.1166)
OKLCHoklch(61.7% 0.117 93.5)
XYZxyz(22.2565, 23.4958, 4.5909)
Luminance0.2349 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D831E #1E389D
analogous
#9D441E #9D831E #779D1E
triadic
#9D831E #1E9D83 #831E9D
tetradic
#9D831E #1E9D44 #1E389D #9D1E77
square
#9D831E #1E9D44 #1E389D #9D1E77
split-complementary
#9D831E #1E779D #441E9D
monochromatic
#362D0A #6A5814 #9D831E #D0AE28 #DFC357

Accessibility & contrast

On white

3.68
#9D831E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.70
#9D831E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D831E
5.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D831E#FFFFFF#000000##000000
##9D831E1.003.685.705.70
#FFFFFF3.681.0021.0021.00
#0000005.7021.001.001.00
##0000005.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#928105
Deuteranopia (green-blind)
#988825
Tritanopia (blue-blind)
#AA7870
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #9d831e;
/* rgb */ color: rgb(157, 131, 30);
/* oklch */ color: oklch(61.7% 0.117 93.5);
Tailwind
colors: {
  custom: {
    50: '#bea663',
    500: '#9d831e',
    950: '#000000',
  },
}
SCSS
$custom: #9d831e;
$custom-light: #bea663;
$custom-dark: #000000;
JSON
{
  "hex": "#9d831e",
  "rgb": {
    "r": 157,
    "g": 131,
    "b": 30
  },
  "hsl": {
    "h": 47.717,
    "s": 67.914,
    "l": 36.667
  },
  "oklch": {
    "l": 0.61702,
    "c": 0.11681,
    "h": 93.5
  },
  "luminance": 0.23494
}

Semantic roles & 50–950 ramp

primary
#9D831E
secondary
#546BC2
accent
#61EB3D
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9D831E

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

Preview Lab → · Contrast checker → · Palette generator →

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