#8B8F23#8B8F23

#8B8F23 is a light, vivid yellow. Relative luminance 0.253; OKLCH L 62.7% C 0.126 H 111.7°. Best body text is #000000 at 6.05:1 contrast (WCAG AA passes).

Color values

HEX#8B8F23
RGBrgb(139, 143, 35)
HSLhsl(62, 61%, 35%)
HSVhsv(62, 76%, 56%)
CMYKcmyk(2.8%, 0%, 75.5%, 43.9%)
CIE-LABlab(57.32, -14.87, 53.07)
CIE-LCHlch(57.32, 55.12, 105.65°)
OKLaboklab(62.7% -0.0464 0.1168)
OKLCHoklch(62.7% 0.126 111.7)
XYZxyz(20.7740, 25.2558, 5.3703)
Luminance0.2525 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B8F23 #27238F
analogous
#8F5D23 #8B8F23 #558F23
triadic
#8B8F23 #238B8F #8F238B
tetradic
#8B8F23 #238F5D #27238F #8F2355
square
#8B8F23 #238F5D #27238F #8F2355
split-complementary
#8B8F23 #23558F #5D238F
monochromatic
#2B2D0B #5B5E17 #8B8F23 #BBC02F #D1D657

Accessibility & contrast

On white

3.47
#8B8F23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.05
#8B8F23 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8B8F23
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B8F23#FFFFFF#000000##000000
##8B8F231.003.476.056.05
#FFFFFF3.471.0021.0021.00
#0000006.0521.001.001.00
##0000006.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A880B
Deuteranopia (green-blind)
#9B8B2C
Tritanopia (blue-blind)
#95867A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8b8f23;
/* rgb */ color: rgb(139, 143, 35);
/* oklch */ color: oklch(62.7% 0.126 111.7);
Tailwind
colors: {
  custom: {
    50: '#b0af67',
    500: '#8b8f23',
    950: '#000000',
  },
}
SCSS
$custom: #8b8f23;
$custom-light: #b0af67;
$custom-dark: #000000;
JSON
{
  "hex": "#8b8f23",
  "rgb": {
    "r": 139,
    "g": 143,
    "b": 35
  },
  "hsl": {
    "h": 62.222,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.627,
    "c": 0.12573,
    "h": 111.7
  },
  "luminance": 0.25255
}

Semantic roles & 50–950 ramp

primary
#8B8F23
secondary
#5854BA
accent
#44E44A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8B8F23

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

Preview Lab → · Contrast checker → · Palette generator →

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