#8F941C#8F941C

#8F941C 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#8F941C
RGBrgb(143, 148, 28)
HSLhsl(63, 68%, 35%)
HSVhsv(63, 81%, 58%)
CMYKcmyk(3.4%, 0%, 81.1%, 42%)
CIE-LABlab(59.07, -15.99, 57.04)
CIE-LCHlch(59.07, 59.23, 105.66°)
OKLaboklab(64.17% -0.0504 0.1238)
OKLCHoklch(64.17% 0.134 112.1)
XYZxyz(22.1280, 27.1038, 5.1643)
Luminance0.2710 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F941C #211C94
analogous
#945D1C #8F941C #53941C
triadic
#8F941C #1C8F94 #941C8F
tetradic
#8F941C #1C945D #211C94 #941C53
square
#8F941C #1C945D #211C94 #941C53
split-complementary
#8F941C #1C5394 #5D1C94
monochromatic
#2C2D09 #5D6112 #8F941C #C1C726 #D7DD4D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8F941C#FFFFFF#000000##000000
##8F941C1.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: #8f941c;
/* rgb */ color: rgb(143, 148, 28);
/* oklch */ color: oklch(64.2% 0.134 112.1);
Tailwind
colors: {
  custom: {
    50: '#b3b364',
    500: '#8f941c',
    950: '#000000',
  },
}
SCSS
$custom: #8f941c;
$custom-light: #b3b364;
$custom-dark: #000000;
JSON
{
  "hex": "#8f941c",
  "rgb": {
    "r": 143,
    "g": 148,
    "b": 28
  },
  "hsl": {
    "h": 62.5,
    "s": 68.182,
    "l": 34.51
  },
  "oklch": {
    "l": 0.64168,
    "c": 0.13366,
    "h": 112.1
  },
  "luminance": 0.27103
}

Semantic roles & 50–950 ramp

primary
#8F941C
secondary
#514CC0
accent
#3DEB44
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111106
muted
#80807A

Preview Lab

Preview with #8F941C

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

Preview Lab → · Contrast checker → · Palette generator →

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