#9F8723#9F8723

#9F8723 is a light, moderate yellow. Relative luminance 0.248; OKLCH L 62.8% C 0.117 H 94.8°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#9F8723
RGBrgb(159, 135, 35)
HSLhsl(48, 64%, 38%)
HSVhsv(48, 78%, 62%)
CMYKcmyk(0%, 15.1%, 78%, 37.6%)
CIE-LABlab(56.90, -1.45, 53.34)
CIE-LCHlch(56.90, 53.36, 91.56°)
OKLaboklab(62.8% -0.0098 0.1166)
OKLCHoklch(62.8% 0.117 94.8)
XYZxyz(23.2667, 24.8216, 5.1553)
Luminance0.2482 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9F8723 #233B9F
analogous
#9F4923 #9F8723 #799F23
triadic
#9F8723 #239F87 #87239F
tetradic
#9F8723 #239F49 #233B9F #9F2379
square
#9F8723 #239F49 #233B9F #9F2379
split-complementary
#9F8723 #23799F #49239F
monochromatic
#3B320D #6D5C18 #9F8723 #D1B22E #DCC460

Accessibility & contrast

On white

3.52
#9F8723 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#9F8723 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9F8723
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9F8723#FFFFFF#000000##000000
##9F87231.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#96840F
Deuteranopia (green-blind)
#9C8C29
Tritanopia (blue-blind)
#AC7C74
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #9f8723;
/* rgb */ color: rgb(159, 135, 35);
/* oklch */ color: oklch(62.8% 0.117 94.8);
Tailwind
colors: {
  custom: {
    50: '#bfa966',
    500: '#9f8723',
    950: '#000000',
  },
}
SCSS
$custom: #9f8723;
$custom-light: #bfa966;
$custom-dark: #000000;
JSON
{
  "hex": "#9f8723",
  "rgb": {
    "r": 159,
    "g": 135,
    "b": 35
  },
  "hsl": {
    "h": 48.387,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.62802,
    "c": 0.11698,
    "h": 94.8
  },
  "luminance": 0.2482
}

Semantic roles & 50–950 ramp

primary
#9F8723
secondary
#5D70C1
accent
#61E741
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#130F06
muted
#827F7A

Preview Lab

Preview with #9F8723

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

Preview Lab → · Contrast checker → · Palette generator →

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