#8F8023#8F8023

#8F8023 is a mid, moderate yellow. Relative luminance 0.214; OKLCH L 59.6% C 0.111 H 99.8°. Best body text is #000000 at 5.28:1 contrast (WCAG AA passes).

Color values

HEX#8F8023
RGBrgb(143, 128, 35)
HSLhsl(52, 61%, 35%)
HSVhsv(52, 76%, 56%)
CMYKcmyk(0%, 10.5%, 75.5%, 43.9%)
CIE-LABlab(53.38, -4.93, 49.47)
CIE-LCHlch(53.38, 49.71, 95.69°)
OKLaboklab(59.65% -0.0188 0.109)
OKLCHoklch(59.65% 0.111 99.8)
XYZxyz(19.3512, 21.4003, 4.7012)
Luminance0.2140 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8023 #23328F
analogous
#8F4A23 #8F8023 #688F23
triadic
#8F8023 #238F80 #80238F
tetradic
#8F8023 #238F4A #23328F #8F2368
square
#8F8023 #238F4A #23328F #8F2368
split-complementary
#8F8023 #23688F #4A238F
monochromatic
#2D280B #5E5417 #8F8023 #C0AC2F #D6C457

Accessibility & contrast

On white

3.98
#8F8023 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.28
#8F8023 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8023
5.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8023#FFFFFF#000000##000000
##8F80231.003.985.285.28
#FFFFFF3.981.0021.0021.00
#0000005.2821.001.001.00
##0000005.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C12
Deuteranopia (green-blind)
#918229
Tritanopia (blue-blind)
#9A766E
Achromatopsia (no color)
#7F7F7F

Design tokens & code

CSS
--color: #8f8023;
/* rgb */ color: rgb(143, 128, 35);
/* oklch */ color: oklch(59.6% 0.111 99.8);
Tailwind
colors: {
  custom: {
    50: '#b3a465',
    500: '#8f8023',
    950: '#000000',
  },
}
SCSS
$custom: #8f8023;
$custom-light: #b3a465;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8023",
  "rgb": {
    "r": 143,
    "g": 128,
    "b": 35
  },
  "hsl": {
    "h": 51.667,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.59648,
    "c": 0.11064,
    "h": 99.8
  },
  "luminance": 0.21399
}

Semantic roles & 50–950 ramp

primary
#8F8023
secondary
#5462BA
accent
#5AE444
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8F8023

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

Preview Lab → · Contrast checker → · Palette generator →

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