#8E8623#8E8623

#8E8623 is a mid, moderate yellow. Relative luminance 0.229; OKLCH L 60.9% C 0.116 H 104.6°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#8E8623
RGBrgb(142, 134, 35)
HSLhsl(56, 60%, 35%)
HSVhsv(56, 75%, 56%)
CMYKcmyk(0%, 5.6%, 75.4%, 44.3%)
CIE-LABlab(54.99, -8.69, 50.97)
CIE-LCHlch(54.99, 51.70, 99.67°)
OKLaboklab(60.9% -0.0293 0.1123)
OKLCHoklch(60.9% 0.116 104.6)
XYZxyz(19.9847, 22.9231, 4.9617)
Luminance0.2292 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8623 #232B8E
analogous
#8E5123 #8E8623 #618E23
triadic
#8E8623 #238E86 #86238E
tetradic
#8E8623 #238E51 #232B8E #8E2361
square
#8E8623 #238E51 #232B8E #8E2361
split-complementary
#8E8623 #23618E #51238E
monochromatic
#2C290B #5D5817 #8E8623 #BFB42F #D5CC56

Accessibility & contrast

On white

3.76
#8E8623 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#8E8623 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8623
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8623#FFFFFF#000000##000000
##8E86231.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#928110
Deuteranopia (green-blind)
#95862A
Tritanopia (blue-blind)
#997C73
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8e8623;
/* rgb */ color: rgb(142, 134, 35);
/* oklch */ color: oklch(60.9% 0.116 104.6);
Tailwind
colors: {
  custom: {
    50: '#b2a866',
    500: '#8e8623',
    950: '#000000',
  },
}
SCSS
$custom: #8e8623;
$custom-light: #b2a866;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8623",
  "rgb": {
    "r": 142,
    "g": 134,
    "b": 35
  },
  "hsl": {
    "h": 55.514,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.60903,
    "c": 0.11602,
    "h": 104.6
  },
  "luminance": 0.22922
}

Semantic roles & 50–950 ramp

primary
#8E8623
secondary
#535BB9
accent
#50E444
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8E8623

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

Preview Lab → · Contrast checker → · Palette generator →

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