#8A8F15#8A8F15

#8A8F15 is a light, vivid yellow. Relative luminance 0.251; OKLCH L 62.5% C 0.133 H 112.2°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#8A8F15
RGBrgb(138, 143, 21)
HSLhsl(62, 74%, 32%)
HSVhsv(62, 85%, 56%)
CMYKcmyk(3.5%, 0%, 85.3%, 43.9%)
CIE-LABlab(57.18, -15.85, 57.13)
CIE-LCHlch(57.18, 59.29, 105.51°)
OKLaboklab(62.54% -0.0502 0.123)
OKLCHoklch(62.54% 0.133 112.2)
XYZxyz(20.4398, 25.1029, 4.4779)
Luminance0.2510 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8F15 #1A158F
analogous
#8F5715 #8A8F15 #4D8F15
triadic
#8A8F15 #158A8F #8F158A
tetradic
#8A8F15 #158F57 #1A158F #8F154D
square
#8A8F15 #158F57 #1A158F #8F154D
split-complementary
#8A8F15 #154D8F #57158F
monochromatic
#232405 #575A0D #8A8F15 #BDC41D #DCE23C

Accessibility & contrast

On white

3.49
#8A8F15 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#8A8F15 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8F15
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8F15#FFFFFF#000000##000000
##8A8F151.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8800
Deuteranopia (green-blind)
#9B8B22
Tritanopia (blue-blind)
#94867A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8a8f15;
/* rgb */ color: rgb(138, 143, 21);
/* oklch */ color: oklch(62.5% 0.133 112.2);
Tailwind
colors: {
  custom: {
    50: '#b0af61',
    500: '#8a8f15',
    950: '#000000',
  },
}
SCSS
$custom: #8a8f15;
$custom-light: #b0af61;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8f15",
  "rgb": {
    "r": 138,
    "g": 143,
    "b": 21
  },
  "hsl": {
    "h": 62.459,
    "s": 74.39,
    "l": 32.157
  },
  "oklch": {
    "l": 0.6254,
    "c": 0.13282,
    "h": 112.2
  },
  "luminance": 0.25102
}

Semantic roles & 50–950 ramp

primary
#8A8F15
secondary
#433EC2
accent
#37F13E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111005
muted
#807F7A

Preview Lab

Preview with #8A8F15

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

Preview Lab → · Contrast checker → · Palette generator →

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