#9E902C#9E902C

#9E902C is a light, moderate yellow. Relative luminance 0.274; OKLCH L 64.7% C 0.118 H 101.1°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#9E902C
RGBrgb(158, 144, 44)
HSLhsl(53, 56%, 40%)
HSVhsv(53, 72%, 62%)
CMYKcmyk(0%, 8.9%, 72.2%, 38%)
CIE-LABlab(59.34, -6.41, 52.22)
CIE-LCHlch(59.34, 52.61, 97.00°)
OKLaboklab(64.73% -0.0229 0.116)
OKLCHoklch(64.73% 0.118 101.1)
XYZxyz(24.5295, 27.3986, 6.3788)
Luminance0.2740 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E902C #2C3A9E
analogous
#9E572C #9E902C #739E2C
triadic
#9E902C #2C9E90 #902C9E
tetradic
#9E902C #2C9E57 #2C3A9E #9E2C73
square
#9E902C #2C9E57 #2C3A9E #9E2C73
split-complementary
#9E902C #2C739E #572C9E
monochromatic
#3E3911 #6E641F #9E902C #C9B83E #D7CA6E

Accessibility & contrast

On white

3.24
#9E902C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#9E902C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #9E902C
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##9E902C#FFFFFF#000000##000000
##9E902C1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C1C
Deuteranopia (green-blind)
#A29132
Tritanopia (blue-blind)
#AA867C
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #9e902c;
/* rgb */ color: rgb(158, 144, 44);
/* oklch */ color: oklch(64.7% 0.118 101.1);
Tailwind
colors: {
  custom: {
    50: '#beb06c',
    500: '#9e902c',
    950: '#000000',
  },
}
SCSS
$custom: #9e902c;
$custom-light: #beb06c;
$custom-dark: #000000;
JSON
{
  "hex": "#9e902c",
  "rgb": {
    "r": 158,
    "g": 144,
    "b": 44
  },
  "hsl": {
    "h": 52.632,
    "s": 56.436,
    "l": 39.608
  },
  "oklch": {
    "l": 0.64731,
    "c": 0.11826,
    "h": 101.1
  },
  "luminance": 0.27397
}

Semantic roles & 50–950 ramp

primary
#9E902C
secondary
#6873BE
accent
#5BE048
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #9E902C

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

Preview Lab → · Contrast checker → · Palette generator →

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