#8B8F18#8B8F18

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

Color values

HEX#8B8F18
RGBrgb(139, 143, 24)
HSLhsl(62, 71%, 33%)
HSVhsv(62, 83%, 56%)
CMYKcmyk(2.8%, 0%, 83.2%, 43.9%)
CIE-LABlab(57.27, -15.31, 56.46)
CIE-LCHlch(57.27, 58.50, 105.17°)
OKLaboklab(62.64% -0.0486 0.122)
OKLCHoklch(62.64% 0.131 111.7)
XYZxyz(20.6355, 25.2004, 4.6411)
Luminance0.2520 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8F18 #1C188F
analogous
#8F5818 #8B8F18 #4F8F18
triadic
#8B8F18 #188B8F #8F188B
tetradic
#8B8F18 #188F58 #1C188F #8F184F
square
#8B8F18 #188F58 #1C188F #8F184F
split-complementary
#8B8F18 #184F8F #58188F
monochromatic
#252606 #585B0F #8B8F18 #BEC321 #DADF42

Accessibility & contrast

On white

3.48
#8B8F18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.04
#8B8F18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8F18
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8F18#FFFFFF#000000##000000
##8B8F181.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8b8f18;
/* rgb */ color: rgb(139, 143, 24);
/* oklch */ color: oklch(62.6% 0.131 111.7);
Tailwind
colors: {
  custom: {
    50: '#b1af62',
    500: '#8b8f18',
    950: '#000000',
  },
}
SCSS
$custom: #8b8f18;
$custom-light: #b1af62;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8f18",
  "rgb": {
    "r": 139,
    "g": 143,
    "b": 24
  },
  "hsl": {
    "h": 62.017,
    "s": 71.257,
    "l": 32.745
  },
  "oklch": {
    "l": 0.6264,
    "c": 0.13133,
    "h": 111.7
  },
  "luminance": 0.252
}

Semantic roles & 50–950 ramp

primary
#8B8F18
secondary
#4743C0
accent
#3AEE40
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8B8F18

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

Preview Lab → · Contrast checker → · Palette generator →

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