#8E8D2B#8E8D2B

#8E8D2B is a light, moderate yellow. Relative luminance 0.250; OKLCH L 62.6% C 0.118 H 108.8°. Best body text is #000000 at 6.00:1 contrast (WCAG AA passes).

Color values

HEX#8E8D2B
RGBrgb(142, 141, 43)
HSLhsl(59, 54%, 36%)
HSVhsv(59, 70%, 56%)
CMYKcmyk(0%, 0.7%, 69.7%, 44.3%)
CIE-LABlab(57.05, -12.05, 49.87)
CIE-LCHlch(57.05, 51.31, 103.58°)
OKLaboklab(62.56% -0.0379 0.1114)
OKLCHoklch(62.56% 0.118 108.8)
XYZxyz(21.1170, 24.9756, 5.9934)
Luminance0.2497 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8D2B #2B2C8E
analogous
#8E5C2B #8E8D2B #5E8E2B
triadic
#8E8D2B #2B8E8D #8D2B8E
tetradic
#8E8D2B #2B8E5C #2B2C8E #8E2B5E
square
#8E8D2B #2B8E5C #2B2C8E #8E2B5E
split-complementary
#8E8D2B #2B5E8E #5C2B8E
monochromatic
#30300F #5F5E1D #8E8D2B #BDBC39 #D0CF63

Accessibility & contrast

On white

3.50
#8E8D2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.00
#8E8D2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8D2B
6.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8D2B#FFFFFF#000000##000000
##8E8D2B1.003.506.006.00
#FFFFFF3.501.0021.0021.00
#0000006.0021.001.001.00
##0000006.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#99871C
Deuteranopia (green-blind)
#9A8A32
Tritanopia (blue-blind)
#988479
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8e8d2b;
/* rgb */ color: rgb(142, 141, 43);
/* oklch */ color: oklch(62.6% 0.118 108.8);
Tailwind
colors: {
  custom: {
    50: '#b2ae6b',
    500: '#8e8d2b',
    950: '#000000',
  },
}
SCSS
$custom: #8e8d2b;
$custom-light: #b2ae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8d2b",
  "rgb": {
    "r": 142,
    "g": 141,
    "b": 43
  },
  "hsl": {
    "h": 59.394,
    "s": 53.514,
    "l": 36.275
  },
  "oklch": {
    "l": 0.62561,
    "c": 0.11771,
    "h": 108.8
  },
  "luminance": 0.24975
}

Semantic roles & 50–950 ramp

primary
#8E8D2B
secondary
#5F60B6
accent
#4CDD4B
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8E8D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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