#8F941B#8F941B

#8F941B is a light, vivid yellow. Relative luminance 0.271; OKLCH L 64.2% C 0.134 H 112.1°. Best body text is #000000 at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#8F941B
RGBrgb(143, 148, 27)
HSLhsl(62, 69%, 34%)
HSVhsv(62, 82%, 58%)
CMYKcmyk(3.4%, 0%, 81.8%, 42%)
CIE-LABlab(59.07, -16.03, 57.32)
CIE-LCHlch(59.07, 59.52, 105.62°)
OKLaboklab(64.16% -0.0505 0.1242)
OKLCHoklch(64.16% 0.134 112.1)
XYZxyz(22.1162, 27.0991, 5.1023)
Luminance0.2710 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F941B #201B94
analogous
#945D1B #8F941B #53941B
triadic
#8F941B #1B8F94 #941B8F
tetradic
#8F941B #1B945D #201B94 #941B53
square
#8F941B #1B945D #201B94 #941B53
split-complementary
#8F941B #1B5394 #5D1B94
monochromatic
#2B2C08 #5D6012 #8F941B #C1C824 #D8DE4B

Accessibility & contrast

On white

3.27
#8F941B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.42
#8F941B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F941B
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F941B#FFFFFF#000000##000000
##8F941B1.003.276.426.42
#FFFFFF3.271.0021.0021.00
#0000006.4221.001.001.00
##0000006.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D00
Deuteranopia (green-blind)
#A08F27
Tritanopia (blue-blind)
#998A7E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8f941b;
/* rgb */ color: rgb(143, 148, 27);
/* oklch */ color: oklch(64.2% 0.134 112.1);
Tailwind
colors: {
  custom: {
    50: '#b3b364',
    500: '#8f941b',
    950: '#000000',
  },
}
SCSS
$custom: #8f941b;
$custom-light: #b3b364;
$custom-dark: #000000;
JSON
{
  "hex": "#8f941b",
  "rgb": {
    "r": 143,
    "g": 148,
    "b": 27
  },
  "hsl": {
    "h": 62.479,
    "s": 69.143,
    "l": 34.314
  },
  "oklch": {
    "l": 0.64164,
    "c": 0.13412,
    "h": 112.1
  },
  "luminance": 0.27099
}

Semantic roles & 50–950 ramp

primary
#8F941B
secondary
#4F4BC0
accent
#3CEC43
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111106
muted
#80807A

Preview Lab

Preview with #8F941B

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

Preview Lab → · Contrast checker → · Palette generator →

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