#8C8E23#8C8E23

#8C8E23 is a light, vivid yellow. Relative luminance 0.250; OKLCH L 62.6% C 0.124 H 110.6°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#8C8E23
RGBrgb(140, 142, 35)
HSLhsl(61, 60%, 35%)
HSVhsv(61, 75%, 56%)
CMYKcmyk(1.4%, 0%, 75.4%, 44.3%)
CIE-LABlab(57.12, -13.89, 52.91)
CIE-LCHlch(57.12, 54.70, 104.71°)
OKLaboklab(62.56% -0.0438 0.1165)
OKLCHoklch(62.56% 0.124 110.6)
XYZxyz(20.7923, 25.0434, 5.3284)
Luminance0.2504 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8C8E23 #25238E
analogous
#8E5A23 #8C8E23 #578E23
triadic
#8C8E23 #238C8E #8E238C
tetradic
#8C8E23 #238E5A #25238E #8E2357
square
#8C8E23 #238E5A #25238E #8E2357
split-complementary
#8C8E23 #23578E #5A238E
monochromatic
#2B2C0B #5C5D17 #8C8E23 #BCBF2F #D3D556

Accessibility & contrast

On white

3.49
#8C8E23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.01
#8C8E23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8C8E23
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8C8E23#FFFFFF#000000##000000
##8C8E231.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A880C
Deuteranopia (green-blind)
#9A8A2C
Tritanopia (blue-blind)
#96857A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8c8e23;
/* rgb */ color: rgb(140, 142, 35);
/* oklch */ color: oklch(62.6% 0.124 110.6);
Tailwind
colors: {
  custom: {
    50: '#b1ae67',
    500: '#8c8e23',
    950: '#000000',
  },
}
SCSS
$custom: #8c8e23;
$custom-light: #b1ae67;
$custom-dark: #000000;
JSON
{
  "hex": "#8c8e23",
  "rgb": {
    "r": 140,
    "g": 142,
    "b": 35
  },
  "hsl": {
    "h": 61.121,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.62556,
    "c": 0.12441,
    "h": 110.6
  },
  "luminance": 0.25043
}

Semantic roles & 50–950 ramp

primary
#8C8E23
secondary
#5553B9
accent
#44E447
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8C8E23

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

Preview Lab → · Contrast checker → · Palette generator →

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