#9D902E#9D902E

#9D902E is a light, moderate yellow. Relative luminance 0.273; OKLCH L 64.7% C 0.117 H 101.6°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#9D902E
RGBrgb(157, 144, 46)
HSLhsl(53, 55%, 40%)
HSVhsv(53, 71%, 62%)
CMYKcmyk(0%, 8.3%, 70.7%, 38.4%)
CIE-LABlab(59.26, -6.75, 51.31)
CIE-LCHlch(59.26, 51.75, 97.50°)
OKLaboklab(64.65% -0.0236 0.1145)
OKLCHoklch(64.65% 0.117 101.6)
XYZxyz(24.3721, 27.3129, 6.5724)
Luminance0.2731 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9D902E #2E3B9D
analogous
#9D592E #9D902E #739D2E
triadic
#9D902E #2E9D90 #902E9D
tetradic
#9D902E #2E9D59 #2E3B9D #9D2E73
square
#9D902E #2E9D59 #2E3B9D #9D2E73
split-complementary
#9D902E #2E739D #592E9D
monochromatic
#3E3912 #6E6520 #9D902E #C7B841 #D5C970

Accessibility & contrast

On white

3.25
#9D902E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#9D902E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9D902E
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9D902E#FFFFFF#000000##000000
##9D902E1.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8C1F
Deuteranopia (green-blind)
#A19134
Tritanopia (blue-blind)
#A9867C
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #9d902e;
/* rgb */ color: rgb(157, 144, 46);
/* oklch */ color: oklch(64.7% 0.117 101.6);
Tailwind
colors: {
  custom: {
    50: '#bdb06d',
    500: '#9d902e',
    950: '#000000',
  },
}
SCSS
$custom: #9d902e;
$custom-light: #bdb06d;
$custom-dark: #000000;
JSON
{
  "hex": "#9d902e",
  "rgb": {
    "r": 157,
    "g": 144,
    "b": 46
  },
  "hsl": {
    "h": 52.973,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.64651,
    "c": 0.11691,
    "h": 101.6
  },
  "luminance": 0.27312
}

Semantic roles & 50–950 ramp

primary
#9D902E
secondary
#6A74BD
accent
#5BDE4A
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #9D902E

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

Preview Lab → · Contrast checker → · Palette generator →

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