#8F951C#8F951C

#8F951C is a light, vivid yellow. Relative luminance 0.274; OKLCH L 64.4% C 0.135 H 112.6°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#8F951C
RGBrgb(143, 149, 28)
HSLhsl(63, 68%, 35%)
HSVhsv(63, 81%, 58%)
CMYKcmyk(4%, 0%, 81.2%, 41.6%)
CIE-LABlab(59.36, -16.51, 57.29)
CIE-LCHlch(59.36, 59.62, 106.08°)
OKLaboklab(64.4% -0.0518 0.1244)
OKLCHoklch(64.4% 0.135 112.6)
XYZxyz(22.2855, 27.4189, 5.2168)
Luminance0.2742 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F951C #221C95
analogous
#955E1C #8F951C #53951C
triadic
#8F951C #1C8F95 #951C8F
tetradic
#8F951C #1C955E #221C95 #951C53
square
#8F951C #1C955E #221C95 #951C53
split-complementary
#8F951C #1C5395 #5E1C95
monochromatic
#2C2E09 #5E6112 #8F951C #C0C926 #D7DE4E

Accessibility & contrast

On white

3.24
#8F951C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#8F951C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F951C
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F951C#FFFFFF#000000##000000
##8F951C1.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E00
Deuteranopia (green-blind)
#A19028
Tritanopia (blue-blind)
#998B7F
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #8f951c;
/* rgb */ color: rgb(143, 149, 28);
/* oklch */ color: oklch(64.4% 0.135 112.6);
Tailwind
colors: {
  custom: {
    50: '#b3b365',
    500: '#8f951c',
    950: '#000000',
  },
}
SCSS
$custom: #8f951c;
$custom-light: #b3b365;
$custom-dark: #000000;
JSON
{
  "hex": "#8f951c",
  "rgb": {
    "r": 143,
    "g": 149,
    "b": 28
  },
  "hsl": {
    "h": 62.975,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.644,
    "c": 0.13472,
    "h": 112.6
  },
  "luminance": 0.27418
}

Semantic roles & 50–950 ramp

primary
#8F951C
secondary
#524DC0
accent
#3DEB45
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8F951C

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

Preview Lab → · Contrast checker → · Palette generator →

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