#8E8618#8E8618

#8E8618 is a mid, vivid yellow. Relative luminance 0.229; OKLCH L 60.8% C 0.122 H 105.0°. Best body text is #000000 at 5.57:1 contrast (WCAG AA passes).

Color values

HEX#8E8618
RGBrgb(142, 134, 24)
HSLhsl(56, 71%, 33%)
HSVhsv(56, 83%, 56%)
CMYKcmyk(0%, 5.6%, 83.1%, 44.3%)
CIE-LABlab(54.94, -9.13, 54.55)
CIE-LCHlch(54.94, 55.31, 99.50°)
OKLaboklab(60.84% -0.0315 0.1177)
OKLCHoklch(60.84% 0.122 105)
XYZxyz(19.8462, 22.8677, 4.2325)
Luminance0.2287 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8618 #18208E
analogous
#8E4B18 #8E8618 #5B8E18
triadic
#8E8618 #188E86 #86188E
tetradic
#8E8618 #188E4B #18208E #8E185B
square
#8E8618 #188E4B #18208E #8E185B
split-complementary
#8E8618 #185B8E #4B188E
monochromatic
#252306 #5A550F #8E8618 #C2B721 #DFD441

Accessibility & contrast

On white

3.77
#8E8618 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.57
#8E8618 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8618
5.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8618#FFFFFF#000000##000000
##8E86181.003.775.575.57
#FFFFFF3.771.0021.0021.00
#0000005.5721.001.001.00
##0000005.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#938100
Deuteranopia (green-blind)
#958622
Tritanopia (blue-blind)
#997C72
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #8e8618;
/* rgb */ color: rgb(142, 134, 24);
/* oklch */ color: oklch(60.8% 0.122 105.0);
Tailwind
colors: {
  custom: {
    50: '#b3a861',
    500: '#8e8618',
    950: '#000000',
  },
}
SCSS
$custom: #8e8618;
$custom-light: #b3a861;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8618",
  "rgb": {
    "r": 142,
    "g": 134,
    "b": 24
  },
  "hsl": {
    "h": 55.932,
    "s": 71.084,
    "l": 32.549
  },
  "oklch": {
    "l": 0.6084,
    "c": 0.12189,
    "h": 105
  },
  "luminance": 0.22867
}

Semantic roles & 50–950 ramp

primary
#8E8618
secondary
#424BC0
accent
#46EE3A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F05
muted
#807F7A

Preview Lab

Preview with #8E8618

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

Preview Lab → · Contrast checker → · Palette generator →

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