#8F9123#8F9123

#8F9123 is a light, vivid yellow. Relative luminance 0.262; OKLCH L 63.5% C 0.127 H 110.6°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#8F9123
RGBrgb(143, 145, 35)
HSLhsl(61, 61%, 35%)
HSVhsv(61, 76%, 57%)
CMYKcmyk(1.4%, 0%, 75.9%, 43.1%)
CIE-LABlab(58.24, -14.13, 54.05)
CIE-LCHlch(58.24, 55.87, 104.65°)
OKLaboklab(63.51% -0.0446 0.1188)
OKLCHoklch(63.51% 0.127 110.6)
XYZxyz(21.7572, 26.2124, 5.5032)
Luminance0.2621 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9123 #252391
analogous
#915C23 #8F9123 #589123
triadic
#8F9123 #238F91 #91238F
tetradic
#8F9123 #23915C #252391 #912358
square
#8F9123 #23915C #252391 #912358
split-complementary
#8F9123 #235891 #5C2391
monochromatic
#2E2E0B #5E6017 #8F9123 #C0C22F #D4D758

Accessibility & contrast

On white

3.36
#8F9123 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#8F9123 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F9123
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9123#FFFFFF#000000##000000
##8F91231.003.366.246.24
#FFFFFF3.361.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f9123;
/* rgb */ color: rgb(143, 145, 35);
/* oklch */ color: oklch(63.5% 0.127 110.6);
Tailwind
colors: {
  custom: {
    50: '#b3b167',
    500: '#8f9123',
    950: '#000000',
  },
}
SCSS
$custom: #8f9123;
$custom-light: #b3b167;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9123",
  "rgb": {
    "r": 143,
    "g": 145,
    "b": 35
  },
  "hsl": {
    "h": 61.091,
    "s": 61.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.63514,
    "c": 0.12686,
    "h": 110.6
  },
  "luminance": 0.26212
}

Semantic roles & 50–950 ramp

primary
#8F9123
secondary
#5755BB
accent
#44E446
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8F9123

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

Preview Lab → · Contrast checker → · Palette generator →

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