#8F902A#8F902A

#8F902A is a light, vivid yellow. Relative luminance 0.260; OKLCH L 63.3% C 0.121 H 110.0°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#8F902A
RGBrgb(143, 144, 42)
HSLhsl(61, 55%, 36%)
HSVhsv(61, 71%, 56%)
CMYKcmyk(0.7%, 0%, 70.8%, 43.5%)
CIE-LABlab(57.99, -13.25, 51.23)
CIE-LCHlch(57.99, 52.92, 104.50°)
OKLaboklab(63.33% -0.0415 0.1141)
OKLCHoklch(63.33% 0.121 110)
XYZxyz(21.7196, 25.9539, 6.0555)
Luminance0.2595 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F902A #2B2A90
analogous
#905E2A #8F902A #5C902A
triadic
#8F902A #2A8F90 #902A8F
tetradic
#8F902A #2A905E #2B2A90 #902A5C
square
#8F902A #2A905E #2B2A90 #902A5C
split-complementary
#8F902A #2A5C90 #5E2A90
monochromatic
#31310E #60611C #8F902A #BEBF38 #D0D163

Accessibility & contrast

On white

3.39
#8F902A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#8F902A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F902A
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F902A#FFFFFF#000000##000000
##8F902A1.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8A19
Deuteranopia (green-blind)
#9D8D31
Tritanopia (blue-blind)
#99877C
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #8f902a;
/* rgb */ color: rgb(143, 144, 42);
/* oklch */ color: oklch(63.3% 0.121 110.0);
Tailwind
colors: {
  custom: {
    50: '#b3b06b',
    500: '#8f902a',
    950: '#000000',
  },
}
SCSS
$custom: #8f902a;
$custom-light: #b3b06b;
$custom-dark: #000000;
JSON
{
  "hex": "#8f902a",
  "rgb": {
    "r": 143,
    "g": 144,
    "b": 42
  },
  "hsl": {
    "h": 60.588,
    "s": 54.839,
    "l": 36.471
  },
  "oklch": {
    "l": 0.63332,
    "c": 0.1214,
    "h": 110
  },
  "luminance": 0.25953
}

Semantic roles & 50–950 ramp

primary
#8F902A
secondary
#5F5EB7
accent
#4ADE4B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8F902A

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

Preview Lab → · Contrast checker → · Palette generator →

#8F902A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva