#8B951C#8B951C

#8B951C is a light, vivid yellow. Relative luminance 0.271; OKLCH L 64.1% C 0.136 H 114.6°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#8B951C
RGBrgb(139, 149, 28)
HSLhsl(65, 68%, 35%)
HSVhsv(65, 81%, 58%)
CMYKcmyk(6.7%, 0%, 81.2%, 41.6%)
CIE-LABlab(59.04, -18.29, 56.88)
CIE-LCHlch(59.04, 59.75, 107.82°)
OKLaboklab(64.06% -0.0565 0.1237)
OKLCHoklch(64.06% 0.136 114.6)
XYZxyz(21.6052, 27.0681, 5.1849)
Luminance0.2707 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B951C #261C95
analogous
#95631C #8B951C #4E951C
triadic
#8B951C #1C8B95 #951C8B
tetradic
#8B951C #1C9563 #261C95 #951C4E
square
#8B951C #1C9563 #261C95 #951C4E
split-complementary
#8B951C #1C4E95 #631C95
monochromatic
#2B2E09 #5B6112 #8B951C #BBC926 #D2DE4E

Accessibility & contrast

On white

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

On black

6.41
#8B951C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B951C
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B951C#FFFFFF#000000##000000
##8B951C1.003.276.416.41
#FFFFFF3.271.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D00
Deuteranopia (green-blind)
#A08F28
Tritanopia (blue-blind)
#958C7F
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #8b951c;
/* rgb */ color: rgb(139, 149, 28);
/* oklch */ color: oklch(64.1% 0.136 114.6);
Tailwind
colors: {
  custom: {
    50: '#b0b464',
    500: '#8b951c',
    950: '#000000',
  },
}
SCSS
$custom: #8b951c;
$custom-light: #b0b464;
$custom-dark: #000000;
JSON
{
  "hex": "#8b951c",
  "rgb": {
    "r": 139,
    "g": 149,
    "b": 28
  },
  "hsl": {
    "h": 64.959,
    "s": 68.362,
    "l": 34.706
  },
  "oklch": {
    "l": 0.64062,
    "c": 0.13595,
    "h": 114.6
  },
  "luminance": 0.27068
}

Semantic roles & 50–950 ramp

primary
#8B951C
secondary
#564DC0
accent
#3DEB4B
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111106
muted
#80807A

Preview Lab

Preview with #8B951C

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

Preview Lab → · Contrast checker → · Palette generator →

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