#9F831C#9F831C

#9F831C is a mid, moderate yellow. Relative luminance 0.237; OKLCH L 61.9% C 0.118 H 92.4°. Best body text is #000000 at 5.74:1 contrast (WCAG AA passes).

Color values

HEX#9F831C
RGBrgb(159, 131, 28)
HSLhsl(47, 70%, 37%)
HSVhsv(47, 82%, 62%)
CMYKcmyk(0%, 17.6%, 82.4%, 37.6%)
CIE-LABlab(55.77, 0.50, 54.71)
CIE-LCHlch(55.77, 54.71, 89.47°)
OKLaboklab(61.9% -0.0049 0.118)
OKLCHoklch(61.9% 0.118 92.4)
XYZxyz(22.6253, 23.6888, 4.4791)
Luminance0.2369 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F831C #1C389F
analogous
#9F421C #9F831C #799F1C
triadic
#9F831C #1C9F83 #831C9F
tetradic
#9F831C #1C9F42 #1C389F #9F1C79
square
#9F831C #1C9F42 #1C389F #9F1C79
split-complementary
#9F831C #1C799F #421C9F
monochromatic
#372D0A #6B5813 #9F831C #D3AE25 #E1C354

Accessibility & contrast

On white

3.66
#9F831C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.74
#9F831C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F831C
5.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F831C#FFFFFF#000000##000000
##9F831C1.003.665.745.74
#FFFFFF3.661.0021.0021.00
#0000005.7421.001.001.00
##0000005.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#928100
Deuteranopia (green-blind)
#998923
Tritanopia (blue-blind)
#AD7770
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #9f831c;
/* rgb */ color: rgb(159, 131, 28);
/* oklch */ color: oklch(61.9% 0.118 92.4);
Tailwind
colors: {
  custom: {
    50: '#c0a662',
    500: '#9f831c',
    950: '#000000',
  },
}
SCSS
$custom: #9f831c;
$custom-light: #c0a662;
$custom-dark: #000000;
JSON
{
  "hex": "#9f831c",
  "rgb": {
    "r": 159,
    "g": 131,
    "b": 28
  },
  "hsl": {
    "h": 47.176,
    "s": 70.053,
    "l": 36.667
  },
  "oklch": {
    "l": 0.619,
    "c": 0.11811,
    "h": 92.4
  },
  "luminance": 0.23687
}

Semantic roles & 50–950 ramp

primary
#9F831C
secondary
#536BC4
accent
#61ED3B
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9F831C

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

Preview Lab → · Contrast checker → · Palette generator →

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