#8A8F19#8A8F19

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

Color values

HEX#8A8F19
RGBrgb(138, 143, 25)
HSLhsl(63, 70%, 33%)
HSVhsv(63, 83%, 56%)
CMYKcmyk(3.5%, 0%, 82.5%, 43.9%)
CIE-LABlab(57.19, -15.72, 56.09)
CIE-LCHlch(57.19, 58.25, 105.66°)
OKLaboklab(62.56% -0.0496 0.1214)
OKLCHoklch(62.56% 0.131 112.2)
XYZxyz(20.4799, 25.1189, 4.6891)
Luminance0.2512 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8F19 #1E198F
analogous
#8F5919 #8A8F19 #4F8F19
triadic
#8A8F19 #198A8F #8F198A
tetradic
#8A8F19 #198F59 #1E198F #8F194F
square
#8A8F19 #198F59 #1E198F #8F194F
split-complementary
#8A8F19 #194F8F #59198F
monochromatic
#252707 #585B10 #8A8F19 #BCC322 #D8DE44

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A8F19#FFFFFF#000000##000000
##8A8F191.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)
#9B8B25
Tritanopia (blue-blind)
#94867A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8a8f19;
/* rgb */ color: rgb(138, 143, 25);
/* oklch */ color: oklch(62.6% 0.131 112.2);
Tailwind
colors: {
  custom: {
    50: '#b0af62',
    500: '#8a8f19',
    950: '#000000',
  },
}
SCSS
$custom: #8a8f19;
$custom-light: #b0af62;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8f19",
  "rgb": {
    "r": 138,
    "g": 143,
    "b": 25
  },
  "hsl": {
    "h": 62.542,
    "s": 70.238,
    "l": 32.941
  },
  "oklch": {
    "l": 0.62558,
    "c": 0.13117,
    "h": 112.2
  },
  "luminance": 0.25118
}

Semantic roles & 50–950 ramp

primary
#8A8F19
secondary
#4A44BF
accent
#3BED42
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8A8F19

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

Preview Lab → · Contrast checker → · Palette generator →

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