#9D983F#9D983F

#9D983F is a light, moderate yellow. Relative luminance 0.300; OKLCH L 66.6% C 0.111 H 106.0°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#9D983F
RGBrgb(157, 152, 63)
HSLhsl(57, 43%, 43%)
HSVhsv(57, 60%, 62%)
CMYKcmyk(0%, 3.2%, 59.9%, 38.4%)
CIE-LABlab(61.64, -9.95, 46.36)
CIE-LCHlch(61.64, 47.42, 102.12°)
OKLaboklab(66.59% -0.0307 0.1067)
OKLCHoklch(66.59% 0.111 106)
XYZxyz(26.0309, 29.9843, 9.1180)
Luminance0.2998 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D983F #3F449D
analogous
#9D693F #9D983F #739D3F
triadic
#9D983F #3F9D98 #983F9D
tetradic
#9D983F #3F9D69 #3F449D #9D3F73
square
#9D983F #3F9D69 #3F449D #9D3F73
split-complementary
#9D983F #3F739D #693F9D
monochromatic
#46431C #716E2D #9D983F #BDB85C #CFCB87

Accessibility & contrast

On white

3.00
#9D983F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#9D983F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #9D983F
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D983F#FFFFFF#000000##000000
##9D983F1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49335
Deuteranopia (green-blind)
#A69744
Tritanopia (blue-blind)
#A88F85
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #9d983f;
/* rgb */ color: rgb(157, 152, 63);
/* oklch */ color: oklch(66.6% 0.111 106.0);
Tailwind
colors: {
  custom: {
    50: '#bcb678',
    500: '#9d983f',
    950: '#000000',
  },
}
SCSS
$custom: #9d983f;
$custom-light: #bcb678;
$custom-dark: #000000;
JSON
{
  "hex": "#9d983f",
  "rgb": {
    "r": 157,
    "g": 152,
    "b": 63
  },
  "hsl": {
    "h": 56.809,
    "s": 42.727,
    "l": 43.137
  },
  "oklch": {
    "l": 0.66588,
    "c": 0.11105,
    "h": 106
  },
  "luminance": 0.29983
}

Semantic roles & 50–950 ramp

primary
#9D983F
secondary
#7E81BA
accent
#5CD355
background
#FBFBF7
surface
#F7F6ED
border
#D0D0C8
text
#121109
muted
#81807B

Preview Lab

Preview with #9D983F

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

Preview Lab → · Contrast checker → · Palette generator →

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