#8D9F23#8D9F23

#8D9F23 is a light, vivid yellow. Relative luminance 0.306; OKLCH L 66.6% C 0.143 H 117.9°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#8D9F23
RGBrgb(141, 159, 35)
HSLhsl(69, 64%, 38%)
HSVhsv(69, 78%, 62%)
CMYKcmyk(11.3%, 0%, 78%, 37.6%)
CIE-LABlab(62.15, -22.21, 57.62)
CIE-LCHlch(62.15, 61.75, 111.08°)
OKLaboklab(66.61% -0.0669 0.1264)
OKLCHoklch(66.61% 0.143 117.9)
XYZxyz(23.6866, 30.5806, 6.2446)
Luminance0.3058 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9F23 #35239F
analogous
#9F7323 #8D9F23 #4F9F23
triadic
#8D9F23 #238D9F #9F238D
tetradic
#8D9F23 #239F73 #35239F #9F234F
square
#8D9F23 #239F73 #35239F #9F234F
split-complementary
#8D9F23 #234F9F #73239F
monochromatic
#343B0D #616D18 #8D9F23 #B9D12E #CADC60

Accessibility & contrast

On white

2.95
#8D9F23 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#8D9F23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8D9F23
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9F23#FFFFFF#000000##000000
##8D9F231.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8d9f23;
/* rgb */ color: rgb(141, 159, 35);
/* oklch */ color: oklch(66.6% 0.143 117.9);
Tailwind
colors: {
  custom: {
    50: '#b2bb69',
    500: '#8d9f23',
    950: '#000000',
  },
}
SCSS
$custom: #8d9f23;
$custom-light: #b2bb69;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9f23",
  "rgb": {
    "r": 141,
    "g": 159,
    "b": 35
  },
  "hsl": {
    "h": 68.71,
    "s": 63.918,
    "l": 38.039
  },
  "oklch": {
    "l": 0.66614,
    "c": 0.14301,
    "h": 117.9
  },
  "luminance": 0.3058
}

Semantic roles & 50–950 ramp

primary
#8D9F23
secondary
#6B5DC1
accent
#41E759
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8D9F23

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

Preview Lab → · Contrast checker → · Palette generator →

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