#8F7E30#8F7E30

#8F7E30 is a mid, moderate yellow. Relative luminance 0.210; OKLCH L 59.3% C 0.099 H 96.9°. Best body text is #000000 at 5.19:1 contrast (WCAG AA passes).

Color values

HEX#8F7E30
RGBrgb(143, 126, 48)
HSLhsl(49, 50%, 37%)
HSVhsv(49, 66%, 56%)
CMYKcmyk(0%, 11.9%, 66.4%, 43.9%)
CIE-LABlab(52.92, -3.08, 43.47)
CIE-LCHlch(52.92, 43.57, 94.05°)
OKLaboklab(59.31% -0.012 0.0987)
OKLCHoklch(59.31% 0.099 96.9)
XYZxyz(19.3229, 20.9757, 5.8266)
Luminance0.2097 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7E30 #30418F
analogous
#8F4E30 #8F7E30 #718F30
triadic
#8F7E30 #308F7E #7E308F
tetradic
#8F7E30 #308F4E #30418F #8F3071
square
#8F7E30 #308F4E #30418F #8F3071
split-complementary
#8F7E30 #30718F #4E308F
monochromatic
#332D11 #615621 #8F7E30 #BDA63F #CEBC6C

Accessibility & contrast

On white

4.04
#8F7E30 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.19
#8F7E30 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7E30
5.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7E30#FFFFFF#000000##000000
##8F7E301.004.045.195.19
#FFFFFF4.041.0021.0021.00
#0000005.1921.001.001.00
##0000005.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8A7B27
Deuteranopia (green-blind)
#8F8134
Tritanopia (blue-blind)
#9A756E
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8f7e30;
/* rgb */ color: rgb(143, 126, 48);
/* oklch */ color: oklch(59.3% 0.099 96.9);
Tailwind
colors: {
  custom: {
    50: '#b3a36c',
    500: '#8f7e30',
    950: '#000000',
  },
}
SCSS
$custom: #8f7e30;
$custom-light: #b3a36c;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7e30",
  "rgb": {
    "r": 143,
    "g": 126,
    "b": 48
  },
  "hsl": {
    "h": 49.263,
    "s": 49.738,
    "l": 37.451
  },
  "oklch": {
    "l": 0.59314,
    "c": 0.09945,
    "h": 96.9
  },
  "luminance": 0.20975
}

Semantic roles & 50–950 ramp

primary
#8F7E30
secondary
#6674B5
accent
#67D94F
background
#FBF9F6
surface
#F6F2EC
border
#D0CCC7
text
#110F07
muted
#807E7A

Preview Lab

Preview with #8F7E30

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

Preview Lab → · Contrast checker → · Palette generator →

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