#8B9018#8B9018

#8B9018 is a light, vivid yellow. Relative luminance 0.255; OKLCH L 62.9% C 0.132 H 112.2°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#8B9018
RGBrgb(139, 144, 24)
HSLhsl(63, 71%, 33%)
HSVhsv(63, 83%, 56%)
CMYKcmyk(3.5%, 0%, 83.3%, 43.5%)
CIE-LABlab(57.56, -15.83, 56.71)
CIE-LCHlch(57.56, 58.88, 105.60°)
OKLaboklab(62.87% -0.05 0.1226)
OKLCHoklch(62.87% 0.132 112.2)
XYZxyz(20.7863, 25.5020, 4.6914)
Luminance0.2550 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B9018 #1D1890
analogous
#905918 #8B9018 #4F9018
triadic
#8B9018 #188B90 #90188B
tetradic
#8B9018 #189059 #1D1890 #90184F
square
#8B9018 #189059 #1D1890 #90184F
split-complementary
#8B9018 #184F90 #591890
monochromatic
#262707 #585C0F #8B9018 #BEC421 #D9E043

Accessibility & contrast

On white

3.44
#8B9018 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#8B9018 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B9018
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B9018#FFFFFF#000000##000000
##8B90181.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8900
Deuteranopia (green-blind)
#9C8C24
Tritanopia (blue-blind)
#95877B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8b9018;
/* rgb */ color: rgb(139, 144, 24);
/* oklch */ color: oklch(62.9% 0.132 112.2);
Tailwind
colors: {
  custom: {
    50: '#b1b062',
    500: '#8b9018',
    950: '#000000',
  },
}
SCSS
$custom: #8b9018;
$custom-light: #b1b062;
$custom-dark: #000000;
JSON
{
  "hex": "#8b9018",
  "rgb": {
    "r": 139,
    "g": 144,
    "b": 24
  },
  "hsl": {
    "h": 62.5,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.62873,
    "c": 0.13237,
    "h": 112.2
  },
  "luminance": 0.25501
}

Semantic roles & 50–950 ramp

primary
#8B9018
secondary
#4943C0
accent
#3AEE41
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8B9018

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

Preview Lab → · Contrast checker → · Palette generator →

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