#8F8A30#8F8A30

#8F8A30 is a light, moderate yellow. Relative luminance 0.242; OKLCH L 62.0% C 0.111 H 106.1°. Best body text is #000000 at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#8F8A30
RGBrgb(143, 138, 48)
HSLhsl(57, 50%, 37%)
HSVhsv(57, 66%, 56%)
CMYKcmyk(0%, 3.5%, 66.4%, 43.9%)
CIE-LABlab(56.32, -9.68, 47.05)
CIE-LCHlch(56.32, 48.04, 101.63°)
OKLaboklab(62.01% -0.0308 0.1063)
OKLCHoklch(62.01% 0.111 106.1)
XYZxyz(20.9504, 24.2307, 6.3691)
Luminance0.2423 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8A30 #30358F
analogous
#8F5A30 #8F8A30 #658F30
triadic
#8F8A30 #308F8A #8A308F
tetradic
#8F8A30 #308F5A #30358F #8F3065
square
#8F8A30 #308F5A #30358F #8F3065
split-complementary
#8F8A30 #30658F #5A308F
monochromatic
#333211 #615E21 #8F8A30 #BDB63F #CEC86C

Accessibility & contrast

On white

3.59
#8F8A30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.85
#8F8A30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8A30
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8A30#FFFFFF#000000##000000
##8F8A301.003.595.855.85
#FFFFFF3.591.0021.0021.00
#0000005.8521.001.001.00
##0000005.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#968524
Deuteranopia (green-blind)
#988936
Tritanopia (blue-blind)
#998177
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8f8a30;
/* rgb */ color: rgb(143, 138, 48);
/* oklch */ color: oklch(62.0% 0.111 106.1);
Tailwind
colors: {
  custom: {
    50: '#b2ab6d',
    500: '#8f8a30',
    950: '#000000',
  },
}
SCSS
$custom: #8f8a30;
$custom-light: #b2ab6d;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8a30",
  "rgb": {
    "r": 143,
    "g": 138,
    "b": 48
  },
  "hsl": {
    "h": 56.842,
    "s": 49.738,
    "l": 37.451
  },
  "oklch": {
    "l": 0.6201,
    "c": 0.11067,
    "h": 106.1
  },
  "luminance": 0.2423
}

Semantic roles & 50–950 ramp

primary
#8F8A30
secondary
#666AB5
accent
#56D94F
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8F8A30

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

Preview Lab → · Contrast checker → · Palette generator →

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