#8B8E23#8B8E23

#8B8E23 is a light, vivid yellow. Relative luminance 0.250; OKLCH L 62.5% C 0.125 H 111.1°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#8B8E23
RGBrgb(139, 142, 35)
HSLhsl(62, 60%, 35%)
HSVhsv(62, 75%, 56%)
CMYKcmyk(2.1%, 0%, 75.4%, 44.3%)
CIE-LABlab(57.03, -14.34, 52.80)
CIE-LCHlch(57.03, 54.71, 105.19°)
OKLaboklab(62.47% -0.045 0.1163)
OKLCHoklch(62.47% 0.125 111.1)
XYZxyz(20.6245, 24.9569, 5.3205)
Luminance0.2496 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8E23 #26238E
analogous
#8E5B23 #8B8E23 #568E23
triadic
#8B8E23 #238B8E #8E238B
tetradic
#8B8E23 #238E5B #26238E #8E2356
square
#8B8E23 #238E5B #26238E #8E2356
split-complementary
#8B8E23 #23568E #5B238E
monochromatic
#2B2C0B #5B5D17 #8B8E23 #BBBF2F #D2D556

Accessibility & contrast

On white

3.51
#8B8E23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#8B8E23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8E23
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8E23#FFFFFF#000000##000000
##8B8E231.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#99870C
Deuteranopia (green-blind)
#9A8A2C
Tritanopia (blue-blind)
#95857A
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #8b8e23;
/* rgb */ color: rgb(139, 142, 35);
/* oklch */ color: oklch(62.5% 0.125 111.1);
Tailwind
colors: {
  custom: {
    50: '#b0ae67',
    500: '#8b8e23',
    950: '#000000',
  },
}
SCSS
$custom: #8b8e23;
$custom-light: #b0ae67;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8e23",
  "rgb": {
    "r": 139,
    "g": 142,
    "b": 35
  },
  "hsl": {
    "h": 61.682,
    "s": 60.452,
    "l": 34.706
  },
  "oklch": {
    "l": 0.62468,
    "c": 0.12466,
    "h": 111.1
  },
  "luminance": 0.24956
}

Semantic roles & 50–950 ramp

primary
#8B8E23
secondary
#5653B9
accent
#44E449
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8B8E23

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

Preview Lab → · Contrast checker → · Palette generator →

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