#8F8D30#8F8D30

#8F8D30 is a light, moderate yellow. Relative luminance 0.251; OKLCH L 62.7% C 0.114 H 108.1°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#8F8D30
RGBrgb(143, 141, 48)
HSLhsl(59, 50%, 37%)
HSVhsv(59, 66%, 56%)
CMYKcmyk(0%, 1.4%, 66.4%, 43.9%)
CIE-LABlab(57.18, -11.30, 47.94)
CIE-LCHlch(57.18, 49.26, 103.26°)
OKLaboklab(62.69% -0.0353 0.1082)
OKLCHoklch(62.69% 0.114 108.1)
XYZxyz(21.3868, 25.1034, 6.5146)
Luminance0.2510 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8D30 #30328F
analogous
#8F5E30 #8F8D30 #618F30
triadic
#8F8D30 #308F8D #8D308F
tetradic
#8F8D30 #308F5E #30328F #8F3061
square
#8F8D30 #308F5E #30328F #8F3061
split-complementary
#8F8D30 #30618F #5E308F
monochromatic
#333311 #616021 #8F8D30 #BDBA3F #CECC6C

Accessibility & contrast

On white

3.49
#8F8D30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#8F8D30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8D30
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8D30#FFFFFF#000000##000000
##8F8D301.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#988723
Deuteranopia (green-blind)
#9A8B36
Tritanopia (blue-blind)
#99847A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8f8d30;
/* rgb */ color: rgb(143, 141, 48);
/* oklch */ color: oklch(62.7% 0.114 108.1);
Tailwind
colors: {
  custom: {
    50: '#b2ae6e',
    500: '#8f8d30',
    950: '#000000',
  },
}
SCSS
$custom: #8f8d30;
$custom-light: #b2ae6e;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8d30",
  "rgb": {
    "r": 143,
    "g": 141,
    "b": 48
  },
  "hsl": {
    "h": 58.737,
    "s": 49.738,
    "l": 37.451
  },
  "oklch": {
    "l": 0.62694,
    "c": 0.11382,
    "h": 108.1
  },
  "luminance": 0.25103
}

Semantic roles & 50–950 ramp

primary
#8F8D30
secondary
#6668B5
accent
#51D94F
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8F8D30

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

Preview Lab → · Contrast checker → · Palette generator →

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