#8A8D1B#8A8D1B

#8A8D1B is a light, vivid yellow. Relative luminance 0.245; OKLCH L 62.1% C 0.128 H 111.2°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#8A8D1B
RGBrgb(138, 141, 27)
HSLhsl(62, 68%, 33%)
HSVhsv(62, 81%, 55%)
CMYKcmyk(2.1%, 0%, 80.9%, 44.7%)
CIE-LABlab(56.62, -14.60, 55.01)
CIE-LCHlch(56.62, 56.91, 104.86°)
OKLaboklab(62.1% -0.0463 0.1195)
OKLCHoklch(62.1% 0.128 111.2)
XYZxyz(20.2047, 24.5327, 4.7077)
Luminance0.2453 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A8D1B #1E1B8D
analogous
#8D571B #8A8D1B #518D1B
triadic
#8A8D1B #1B8A8D #8D1B8A
tetradic
#8A8D1B #1B8D57 #1E1B8D #8D1B51
square
#8A8D1B #1B8D57 #1E1B8D #8D1B51
split-complementary
#8A8D1B #1B518D #571B8D
monochromatic
#252607 #585A11 #8A8D1B #BCC025 #D8DC47

Accessibility & contrast

On white

3.56
#8A8D1B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#8A8D1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A8D1B
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A8D1B#FFFFFF#000000##000000
##8A8D1B1.003.565.915.91
#FFFFFF3.561.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#998600
Deuteranopia (green-blind)
#998926
Tritanopia (blue-blind)
#948478
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #8a8d1b;
/* rgb */ color: rgb(138, 141, 27);
/* oklch */ color: oklch(62.1% 0.128 111.2);
Tailwind
colors: {
  custom: {
    50: '#b0ae63',
    500: '#8a8d1b',
    950: '#000000',
  },
}
SCSS
$custom: #8a8d1b;
$custom-light: #b0ae63;
$custom-dark: #000000;
JSON
{
  "hex": "#8a8d1b",
  "rgb": {
    "r": 138,
    "g": 141,
    "b": 27
  },
  "hsl": {
    "h": 61.579,
    "s": 67.857,
    "l": 32.941
  },
  "oklch": {
    "l": 0.62101,
    "c": 0.12815,
    "h": 111.2
  },
  "luminance": 0.24532
}

Semantic roles & 50–950 ramp

primary
#8A8D1B
secondary
#4A46BD
accent
#3DEB42
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8A8D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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