#9D8F29#9D8F29

#9D8F29 is a light, moderate yellow. Relative luminance 0.270; OKLCH L 64.4% C 0.119 H 101.2°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#9D8F29
RGBrgb(157, 143, 41)
HSLhsl(53, 59%, 39%)
HSVhsv(53, 74%, 62%)
CMYKcmyk(0%, 8.9%, 73.9%, 38.4%)
CIE-LABlab(58.95, -6.47, 52.98)
CIE-LCHlch(58.95, 53.37, 96.96°)
OKLaboklab(64.39% -0.0233 0.1171)
OKLCHoklch(64.39% 0.119 101.2)
XYZxyz(24.1284, 26.9742, 6.0330)
Luminance0.2697 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D8F29 #29379D
analogous
#9D5529 #9D8F29 #719D29
triadic
#9D8F29 #299D8F #8F299D
tetradic
#9D8F29 #299D55 #29379D #9D2971
square
#9D8F29 #299D55 #29379D #9D2971
split-complementary
#9D8F29 #29719D #55299D
monochromatic
#3C3710 #6C631C #9D8F29 #CBB938 #D8CA69

Accessibility & contrast

On white

3.28
#9D8F29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#9D8F29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D8F29
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D8F29#FFFFFF#000000##000000
##9D8F291.003.286.396.39
#FFFFFF3.281.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B17
Deuteranopia (green-blind)
#A19030
Tritanopia (blue-blind)
#A9847B
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #9d8f29;
/* rgb */ color: rgb(157, 143, 41);
/* oklch */ color: oklch(64.4% 0.119 101.2);
Tailwind
colors: {
  custom: {
    50: '#bdaf6a',
    500: '#9d8f29',
    950: '#000000',
  },
}
SCSS
$custom: #9d8f29;
$custom-light: #bdaf6a;
$custom-dark: #000000;
JSON
{
  "hex": "#9d8f29",
  "rgb": {
    "r": 157,
    "g": 143,
    "b": 41
  },
  "hsl": {
    "h": 52.759,
    "s": 58.586,
    "l": 38.824
  },
  "oklch": {
    "l": 0.64392,
    "c": 0.11939,
    "h": 101.2
  },
  "luminance": 0.26973
}

Semantic roles & 50–950 ramp

primary
#9D8F29
secondary
#646FBE
accent
#59E246
background
#FCFAF6
surface
#F8F4EB
border
#D1CEC6
text
#131007
muted
#827F7A

Preview Lab

Preview with #9D8F29

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

Preview Lab → · Contrast checker → · Palette generator →

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