#8A8C14#8A8C14

#8A8C14 is a mid, vivid yellow. Relative luminance 0.242; OKLCH L 61.8% C 0.130 H 110.7°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#8A8C14
RGBrgb(138, 140, 20)
HSLhsl(61, 75%, 31%)
HSVhsv(61, 86%, 55%)
CMYKcmyk(1.4%, 0%, 85.7%, 45.1%)
CIE-LABlab(56.30, -14.30, 56.64)
CIE-LCHlch(56.30, 58.42, 104.17°)
OKLaboklab(61.84% -0.046 0.1217)
OKLCHoklch(61.84% 0.13 110.7)
XYZxyz(19.9863, 24.2105, 4.2820)
Luminance0.2421 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8C14 #16148C
analogous
#8C5214 #8A8C14 #4E8C14
triadic
#8A8C14 #148A8C #8C148A
tetradic
#8A8C14 #148C52 #16148C #8C144E
square
#8A8C14 #148C52 #16148C #8C144E
split-complementary
#8A8C14 #144E8C #52148C
monochromatic
#202105 #55560C #8A8C14 #BFC21C #E0E338

Accessibility & contrast

On white

3.59
#8A8C14 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#8A8C14 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8C14
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8C14#FFFFFF#000000##000000
##8A8C141.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#988500
Deuteranopia (green-blind)
#998821
Tritanopia (blue-blind)
#948377
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8a8c14;
/* rgb */ color: rgb(138, 140, 20);
/* oklch */ color: oklch(61.8% 0.130 110.7);
Tailwind
colors: {
  custom: {
    50: '#b0ad60',
    500: '#8a8c14',
    950: '#000000',
  },
}
SCSS
$custom: #8a8c14;
$custom-light: #b0ad60;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8c14",
  "rgb": {
    "r": 138,
    "g": 140,
    "b": 20
  },
  "hsl": {
    "h": 61,
    "s": 75,
    "l": 31.373
  },
  "oklch": {
    "l": 0.61837,
    "c": 0.13013,
    "h": 110.7
  },
  "luminance": 0.2421
}

Semantic roles & 50–950 ramp

primary
#8A8C14
secondary
#3E3CC0
accent
#36F239
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #8A8C14

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

Preview Lab → · Contrast checker → · Palette generator →

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