#8D9223#8D9223

#8D9223 is a light, vivid yellow. Relative luminance 0.263; OKLCH L 63.6% C 0.128 H 112.2°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).

Color values

HEX#8D9223
RGBrgb(141, 146, 35)
HSLhsl(63, 61%, 35%)
HSVhsv(63, 76%, 57%)
CMYKcmyk(3.4%, 0%, 76%, 42.7%)
CIE-LABlab(58.36, -15.55, 54.11)
CIE-LCHlch(58.36, 56.30, 106.03°)
OKLaboklab(63.57% -0.0484 0.119)
OKLCHoklch(63.57% 0.128 112.2)
XYZxyz(21.5675, 26.3424, 5.5382)
Luminance0.2634 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9223 #282392
analogous
#926023 #8D9223 #559223
triadic
#8D9223 #238D92 #92238D
tetradic
#8D9223 #239260 #282392 #922355
square
#8D9223 #239260 #282392 #922355
split-complementary
#8D9223 #235592 #602392
monochromatic
#2E2F0B #5D6117 #8D9223 #BDC32F #D1D758

Accessibility & contrast

On white

3.35
#8D9223 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.27
#8D9223 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9223
6.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9223#FFFFFF#000000##000000
##8D92231.003.356.276.27
#FFFFFF3.351.0021.0021.00
#0000006.2721.001.001.00
##0000006.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B09
Deuteranopia (green-blind)
#9E8E2C
Tritanopia (blue-blind)
#97897D
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8d9223;
/* rgb */ color: rgb(141, 146, 35);
/* oklch */ color: oklch(63.6% 0.128 112.2);
Tailwind
colors: {
  custom: {
    50: '#b2b167',
    500: '#8d9223',
    950: '#000000',
  },
}
SCSS
$custom: #8d9223;
$custom-light: #b2b167;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9223",
  "rgb": {
    "r": 141,
    "g": 146,
    "b": 35
  },
  "hsl": {
    "h": 62.703,
    "s": 61.326,
    "l": 35.49
  },
  "oklch": {
    "l": 0.63571,
    "c": 0.12844,
    "h": 112.2
  },
  "luminance": 0.26342
}

Semantic roles & 50–950 ramp

primary
#8D9223
secondary
#5A55BB
accent
#43E44B
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8D9223

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

Preview Lab → · Contrast checker → · Palette generator →

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