#9E902B#9E902B

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

Color values

HEX#9E902B
RGBrgb(158, 144, 43)
HSLhsl(53, 57%, 39%)
HSVhsv(53, 73%, 62%)
CMYKcmyk(0%, 8.9%, 72.8%, 38%)
CIE-LABlab(59.33, -6.46, 52.61)
CIE-LCHlch(59.33, 53.01, 97.00°)
OKLaboklab(64.72% -0.0231 0.1167)
OKLCHoklch(64.72% 0.119 101.2)
XYZxyz(24.5110, 27.3911, 6.2810)
Luminance0.2739 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E902B #2B399E
analogous
#9E572B #9E902B #739E2B
triadic
#9E902B #2B9E90 #902B9E
tetradic
#9E902B #2B9E57 #2B399E #9E2B73
square
#9E902B #2B9E57 #2B399E #9E2B73
split-complementary
#9E902B #2B739E #572B9E
monochromatic
#3E3811 #6E641E #9E902B #CAB93C #D7CA6C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E902B#FFFFFF#000000##000000
##9E902B1.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)
#9E8C1B
Deuteranopia (green-blind)
#A29132
Tritanopia (blue-blind)
#AA857C
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #9e902b;
/* rgb */ color: rgb(158, 144, 43);
/* oklch */ color: oklch(64.7% 0.119 101.2);
Tailwind
colors: {
  custom: {
    50: '#beb06b',
    500: '#9e902b',
    950: '#000000',
  },
}
SCSS
$custom: #9e902b;
$custom-light: #beb06b;
$custom-dark: #000000;
JSON
{
  "hex": "#9e902b",
  "rgb": {
    "r": 158,
    "g": 144,
    "b": 43
  },
  "hsl": {
    "h": 52.696,
    "s": 57.214,
    "l": 39.412
  },
  "oklch": {
    "l": 0.64724,
    "c": 0.11893,
    "h": 101.2
  },
  "luminance": 0.2739
}

Semantic roles & 50–950 ramp

primary
#9E902B
secondary
#6771BE
accent
#5AE047
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #9E902B

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

Preview Lab → · Contrast checker → · Palette generator →

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