#8B9F23#8B9F23

#8B9F23 is a light, vivid yellow. Relative luminance 0.304; OKLCH L 66.5% C 0.144 H 118.7°. Best body text is #000000 at 7.08:1 contrast (WCAG AA passes).

Color values

HEX#8B9F23
RGBrgb(139, 159, 35)
HSLhsl(70, 64%, 38%)
HSVhsv(70, 78%, 62%)
CMYKcmyk(12.6%, 0%, 78%, 37.6%)
CIE-LABlab(62.00, -23.07, 57.43)
CIE-LCHlch(62.00, 61.89, 111.89°)
OKLaboklab(66.46% -0.0691 0.1261)
OKLCHoklch(66.46% 0.144 118.7)
XYZxyz(23.3495, 30.4068, 6.2288)
Luminance0.3041 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8B9F23 #37239F
analogous
#9F7523 #8B9F23 #4D9F23
triadic
#8B9F23 #238B9F #9F238B
tetradic
#8B9F23 #239F75 #37239F #9F234D
square
#8B9F23 #239F75 #37239F #9F234D
split-complementary
#8B9F23 #234D9F #75239F
monochromatic
#333B0D #5F6D18 #8B9F23 #B7D12E #C8DC60

Accessibility & contrast

On white

2.97
#8B9F23 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.08
#8B9F23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8B9F23
7.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8B9F23#FFFFFF#000000##000000
##8B9F231.002.977.087.08
#FFFFFF2.971.0021.0021.00
#0000007.0821.001.001.00
##0000007.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#A8962F
Tritanopia (blue-blind)
#949688
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #8b9f23;
/* rgb */ color: rgb(139, 159, 35);
/* oklch */ color: oklch(66.5% 0.144 118.7);
Tailwind
colors: {
  custom: {
    50: '#b0bb69',
    500: '#8b9f23',
    950: '#000000',
  },
}
SCSS
$custom: #8b9f23;
$custom-light: #b0bb69;
$custom-dark: #000000;
JSON
{
  "hex": "#8b9f23",
  "rgb": {
    "r": 139,
    "g": 159,
    "b": 35
  },
  "hsl": {
    "h": 69.677,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.66457,
    "c": 0.14378,
    "h": 118.7
  },
  "luminance": 0.30407
}

Semantic roles & 50–950 ramp

primary
#8B9F23
secondary
#6D5DC1
accent
#41E75C
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8B9F23

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

Preview Lab → · Contrast checker → · Palette generator →

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