#8F7E16#8F7E16

#8F7E16 is a mid, moderate yellow. Relative luminance 0.208; OKLCH L 59.1% C 0.116 H 99.1°. Best body text is #000000 at 5.16:1 contrast (WCAG AA passes).

Color values

HEX#8F7E16
RGBrgb(143, 126, 22)
HSLhsl(52, 73%, 32%)
HSVhsv(52, 85%, 56%)
CMYKcmyk(0%, 11.9%, 84.6%, 43.9%)
CIE-LABlab(52.75, -4.33, 53.29)
CIE-LCHlch(52.75, 53.47, 94.64°)
OKLaboklab(59.12% -0.0183 0.1146)
OKLCHoklch(59.12% 0.116 99.1)
XYZxyz(18.9344, 20.8203, 3.7803)
Luminance0.2082 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F7E16 #16278F
analogous
#8F4116 #8F7E16 #648F16
triadic
#8F7E16 #168F7E #7E168F
tetradic
#8F7E16 #168F41 #16278F #8F1664
square
#8F7E16 #168F41 #16278F #8F1664
split-complementary
#8F7E16 #16648F #41168F
monochromatic
#252106 #5A4F0E #8F7E16 #C4AD1E #E1CA3E

Accessibility & contrast

On white

4.07
#8F7E16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.16
#8F7E16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F7E16
5.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F7E16#FFFFFF#000000##000000
##8F7E161.004.075.165.16
#FFFFFF4.071.0021.0021.00
#0000005.1621.001.001.00
##0000005.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7A00
Deuteranopia (green-blind)
#90801F
Tritanopia (blue-blind)
#9B746B
Achromatopsia (no color)
#7E7E7E

Design tokens & code

CSS
--color: #8f7e16;
/* rgb */ color: rgb(143, 126, 22);
/* oklch */ color: oklch(59.1% 0.116 99.1);
Tailwind
colors: {
  custom: {
    50: '#b4a35f',
    500: '#8f7e16',
    950: '#000000',
  },
}
SCSS
$custom: #8f7e16;
$custom-light: #b4a35f;
$custom-dark: #000000;
JSON
{
  "hex": "#8f7e16",
  "rgb": {
    "r": 143,
    "g": 126,
    "b": 22
  },
  "hsl": {
    "h": 51.57,
    "s": 73.333,
    "l": 32.353
  },
  "oklch": {
    "l": 0.59124,
    "c": 0.116,
    "h": 99.1
  },
  "luminance": 0.20819
}

Semantic roles & 50–950 ramp

primary
#8F7E16
secondary
#3F52C1
accent
#52F038
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#120F05
muted
#817E79

Preview Lab

Preview with #8F7E16

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

Preview Lab → · Contrast checker → · Palette generator →

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