#8E8723#8E8723

#8E8723 is a mid, moderate yellow. Relative luminance 0.232; OKLCH L 61.1% C 0.117 H 105.3°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#8E8723
RGBrgb(142, 135, 35)
HSLhsl(56, 60%, 35%)
HSVhsv(56, 75%, 56%)
CMYKcmyk(0%, 4.9%, 75.4%, 44.3%)
CIE-LABlab(55.28, -9.23, 51.24)
CIE-LCHlch(55.28, 52.06, 100.21°)
OKLaboklab(61.13% -0.0308 0.1128)
OKLCHoklch(61.13% 0.117 105.3)
XYZxyz(20.1235, 23.2008, 5.0080)
Luminance0.2320 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8E8723 #232A8E
analogous
#8E5223 #8E8723 #5F8E23
triadic
#8E8723 #238E87 #87238E
tetradic
#8E8723 #238E52 #232A8E #8E235F
square
#8E8723 #238E52 #232A8E #8E235F
split-complementary
#8E8723 #235F8E #52238E
monochromatic
#2C2A0B #5D5817 #8E8723 #BFB62F #D5CD56

Accessibility & contrast

On white

3.72
#8E8723 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#8E8723 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8E8723
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8E8723#FFFFFF#000000##000000
##8E87231.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#93820F
Deuteranopia (green-blind)
#96862A
Tritanopia (blue-blind)
#997D74
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8e8723;
/* rgb */ color: rgb(142, 135, 35);
/* oklch */ color: oklch(61.1% 0.117 105.3);
Tailwind
colors: {
  custom: {
    50: '#b2a966',
    500: '#8e8723',
    950: '#000000',
  },
}
SCSS
$custom: #8e8723;
$custom-light: #b2a966;
$custom-dark: #000000;
JSON
{
  "hex": "#8e8723",
  "rgb": {
    "r": 142,
    "g": 135,
    "b": 35
  },
  "hsl": {
    "h": 56.075,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.61131,
    "c": 0.11697,
    "h": 105.3
  },
  "luminance": 0.232
}

Semantic roles & 50–950 ramp

primary
#8E8723
secondary
#535AB9
accent
#4FE444
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8E8723

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

Preview Lab → · Contrast checker → · Palette generator →

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