#8B8E18#8B8E18

#8B8E18 is a light, vivid yellow. Relative luminance 0.249; OKLCH L 62.4% C 0.130 H 111.2°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#8B8E18
RGBrgb(139, 142, 24)
HSLhsl(62, 71%, 33%)
HSVhsv(62, 83%, 56%)
CMYKcmyk(2.1%, 0%, 83.1%, 44.3%)
CIE-LABlab(56.98, -14.78, 56.21)
CIE-LCHlch(56.98, 58.12, 104.73°)
OKLaboklab(62.41% -0.0471 0.1215)
OKLCHoklch(62.41% 0.13 111.2)
XYZxyz(20.4861, 24.9015, 4.5913)
Luminance0.2490 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8E18 #1B188E
analogous
#8E5618 #8B8E18 #508E18
triadic
#8B8E18 #188B8E #8E188B
tetradic
#8B8E18 #188E56 #1B188E #8E1850
square
#8B8E18 #188E56 #1B188E #8E1850
split-complementary
#8B8E18 #18508E #56188E
monochromatic
#252506 #585A0F #8B8E18 #BEC221 #DBDF41

Accessibility & contrast

On white

3.51
#8B8E18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#8B8E18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8E18
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8E18#FFFFFF#000000##000000
##8B8E181.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8700
Deuteranopia (green-blind)
#9B8A24
Tritanopia (blue-blind)
#958579
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8b8e18;
/* rgb */ color: rgb(139, 142, 24);
/* oklch */ color: oklch(62.4% 0.130 111.2);
Tailwind
colors: {
  custom: {
    50: '#b1ae62',
    500: '#8b8e18',
    950: '#000000',
  },
}
SCSS
$custom: #8b8e18;
$custom-light: #b1ae62;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8e18",
  "rgb": {
    "r": 139,
    "g": 142,
    "b": 24
  },
  "hsl": {
    "h": 61.525,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.62407,
    "c": 0.13029,
    "h": 111.2
  },
  "luminance": 0.24901
}

Semantic roles & 50–950 ramp

primary
#8B8E18
secondary
#4542C0
accent
#3AEE3F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8B8E18

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

Preview Lab → · Contrast checker → · Palette generator →

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