#9E902F#9E902F

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

Color values

HEX#9E902F
RGBrgb(158, 144, 47)
HSLhsl(52, 54%, 40%)
HSVhsv(52, 70%, 62%)
CMYKcmyk(0%, 8.9%, 70.3%, 38%)
CIE-LABlab(59.36, -6.25, 51.03)
CIE-LCHlch(59.36, 51.41, 96.98°)
OKLaboklab(64.76% -0.0221 0.1141)
OKLCHoklch(64.76% 0.116 101)
XYZxyz(24.5880, 27.4219, 6.6866)
Luminance0.2742 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#9E902F #2F3D9E
analogous
#9E582F #9E902F #759E2F
triadic
#9E902F #2F9E90 #902F9E
tetradic
#9E902F #2F9E58 #2F3D9E #9E2F75
square
#9E902F #2F9E58 #2F3D9E #9E2F75
split-complementary
#9E902F #2F759E #582F9E
monochromatic
#403A13 #6F6521 #9E902F #C7B643 #D5C972

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##9E902F#FFFFFF#000000##000000
##9E902F1.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)
#9E8C21
Deuteranopia (green-blind)
#A29135
Tritanopia (blue-blind)
#AA867C
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #9e902f;
/* rgb */ color: rgb(158, 144, 47);
/* oklch */ color: oklch(64.8% 0.116 101.0);
Tailwind
colors: {
  custom: {
    50: '#beb06d',
    500: '#9e902f',
    950: '#000000',
  },
}
SCSS
$custom: #9e902f;
$custom-light: #beb06d;
$custom-dark: #000000;
JSON
{
  "hex": "#9e902f",
  "rgb": {
    "r": 158,
    "g": 144,
    "b": 47
  },
  "hsl": {
    "h": 52.432,
    "s": 54.146,
    "l": 40.196
  },
  "oklch": {
    "l": 0.64755,
    "c": 0.11618,
    "h": 101
  },
  "luminance": 0.27421
}

Semantic roles & 50–950 ramp

primary
#9E902F
secondary
#6C76BD
accent
#5DDE4A
background
#FCFAF6
surface
#F8F4EC
border
#D1CEC7
text
#131007
muted
#827F7A

Preview Lab

Preview with #9E902F

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

Preview Lab → · Contrast checker → · Palette generator →

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