#8D9123#8D9123

#8D9123 is a light, vivid yellow. Relative luminance 0.260; OKLCH L 63.3% C 0.127 H 111.7°. Best body text is #000000 at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#8D9123
RGBrgb(141, 145, 35)
HSLhsl(62, 61%, 35%)
HSVhsv(62, 76%, 57%)
CMYKcmyk(2.8%, 0%, 75.9%, 43.1%)
CIE-LABlab(58.07, -15.03, 53.83)
CIE-LCHlch(58.07, 55.89, 105.59°)
OKLaboklab(63.34% -0.047 0.1184)
OKLCHoklch(63.34% 0.127 111.7)
XYZxyz(21.4140, 26.0354, 5.4871)
Luminance0.2604 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8D9123 #272391
analogous
#915E23 #8D9123 #569123
triadic
#8D9123 #238D91 #91238D
tetradic
#8D9123 #23915E #272391 #912356
square
#8D9123 #23915E #272391 #912356
split-complementary
#8D9123 #235691 #5E2391
monochromatic
#2D2E0B #5D6017 #8D9123 #BDC22F #D2D758

Accessibility & contrast

On white

3.38
#8D9123 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.21
#8D9123 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8D9123
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8D9123#FFFFFF#000000##000000
##8D91231.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8A0A
Deuteranopia (green-blind)
#9D8D2C
Tritanopia (blue-blind)
#97887C
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8d9123;
/* rgb */ color: rgb(141, 145, 35);
/* oklch */ color: oklch(63.3% 0.127 111.7);
Tailwind
colors: {
  custom: {
    50: '#b2b167',
    500: '#8d9123',
    950: '#000000',
  },
}
SCSS
$custom: #8d9123;
$custom-light: #b2b167;
$custom-dark: #000000;
JSON
{
  "hex": "#8d9123",
  "rgb": {
    "r": 141,
    "g": 145,
    "b": 35
  },
  "hsl": {
    "h": 62.182,
    "s": 61.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.63339,
    "c": 0.12737,
    "h": 111.7
  },
  "luminance": 0.26035
}

Semantic roles & 50–950 ramp

primary
#8D9123
secondary
#5955BB
accent
#44E449
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8D9123

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

Preview Lab → · Contrast checker → · Palette generator →

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