#8E8B20#8E8B20

#8E8B20 is a light, vivid yellow. Relative luminance 0.243; OKLCH L 62.0% C 0.123 H 107.8°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#8E8B20
RGBrgb(142, 139, 32)
HSLhsl(58, 63%, 34%)
HSVhsv(58, 77%, 56%)
CMYKcmyk(0%, 2.1%, 77.5%, 44.3%)
CIE-LABlab(56.41, -11.52, 53.35)
CIE-LCHlch(56.41, 54.58, 102.19°)
OKLaboklab(62.03% -0.0375 0.1167)
OKLCHoklch(62.03% 0.123 107.8)
XYZxyz(20.6495, 24.3210, 4.9729)
Luminance0.2432 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8B20 #20238E
analogous
#8E5420 #8E8B20 #5A8E20
triadic
#8E8B20 #208E8B #8B208E
tetradic
#8E8B20 #208E54 #20238E #8E205A
square
#8E8B20 #208E54 #20238E #8E205A
split-complementary
#8E8B20 #205A8E #54208E
monochromatic
#2A2909 #5C5A15 #8E8B20 #C0BC2B #D8D451

Accessibility & contrast

On white

3.58
#8E8B20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#8E8B20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8B20
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8B20#FFFFFF#000000##000000
##8E8B201.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#978506
Deuteranopia (green-blind)
#998929
Tritanopia (blue-blind)
#998177
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8e8b20;
/* rgb */ color: rgb(142, 139, 32);
/* oklch */ color: oklch(62.0% 0.123 107.8);
Tailwind
colors: {
  custom: {
    50: '#b2ac65',
    500: '#8e8b20',
    950: '#000000',
  },
}
SCSS
$custom: #8e8b20;
$custom-light: #b2ac65;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8b20",
  "rgb": {
    "r": 142,
    "g": 139,
    "b": 32
  },
  "hsl": {
    "h": 58.364,
    "s": 63.218,
    "l": 34.118
  },
  "oklch": {
    "l": 0.62025,
    "c": 0.12263,
    "h": 107.8
  },
  "luminance": 0.2432
}

Semantic roles & 50–950 ramp

primary
#8E8B20
secondary
#4F52BB
accent
#46E642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8E8B20

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

Preview Lab → · Contrast checker → · Palette generator →

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