#8F8630#8F8630

#8F8630 is a mid, moderate yellow. Relative luminance 0.231; OKLCH L 61.1% C 0.107 H 103.3°. Best body text is #000000 at 5.62:1 contrast (WCAG AA passes).

Color values

HEX#8F8630
RGBrgb(143, 134, 48)
HSLhsl(54, 50%, 37%)
HSVhsv(54, 66%, 56%)
CMYKcmyk(0%, 6.3%, 66.4%, 43.9%)
CIE-LABlab(55.18, -7.51, 45.86)
CIE-LCHlch(55.18, 46.47, 99.30°)
OKLaboklab(61.1% -0.0246 0.1038)
OKLCHoklch(61.1% 0.107 103.3)
XYZxyz(20.3871, 23.1040, 6.1814)
Luminance0.2310 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8630 #30398F
analogous
#8F5730 #8F8630 #688F30
triadic
#8F8630 #308F86 #86308F
tetradic
#8F8630 #308F57 #30398F #8F3068
square
#8F8630 #308F57 #30398F #8F3068
split-complementary
#8F8630 #30688F #57308F
monochromatic
#333011 #615B21 #8F8630 #BDB13F #CEC46C

Accessibility & contrast

On white

3.74
#8F8630 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.62
#8F8630 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8630
5.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8630#FFFFFF#000000##000000
##8F86301.003.745.625.62
#FFFFFF3.741.0021.0021.00
#0000005.6221.001.001.00
##0000005.6221.001.001.00

Color blindness preview

Protanopia (red-blind)
#928225
Deuteranopia (green-blind)
#958635
Tritanopia (blue-blind)
#9A7D74
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8f8630;
/* rgb */ color: rgb(143, 134, 48);
/* oklch */ color: oklch(61.1% 0.107 103.3);
Tailwind
colors: {
  custom: {
    50: '#b3a96d',
    500: '#8f8630',
    950: '#000000',
  },
}
SCSS
$custom: #8f8630;
$custom-light: #b3a96d;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8630",
  "rgb": {
    "r": 143,
    "g": 134,
    "b": 48
  },
  "hsl": {
    "h": 54.316,
    "s": 49.738,
    "l": 37.451
  },
  "oklch": {
    "l": 0.61104,
    "c": 0.10666,
    "h": 103.3
  },
  "luminance": 0.23103
}

Semantic roles & 50–950 ramp

primary
#8F8630
secondary
#666DB5
accent
#5CD94F
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F07
muted
#807F7A

Preview Lab

Preview with #8F8630

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

Preview Lab → · Contrast checker → · Palette generator →

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