#8F8923#8F8923

#8F8923 is a mid, moderate yellow. Relative luminance 0.239; OKLCH L 61.7% C 0.119 H 106.0°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#8F8923
RGBrgb(143, 137, 35)
HSLhsl(57, 61%, 35%)
HSVhsv(57, 76%, 56%)
CMYKcmyk(0%, 4.2%, 75.5%, 43.9%)
CIE-LABlab(55.94, -9.86, 51.89)
CIE-LCHlch(55.94, 52.82, 100.75°)
OKLaboklab(61.68% -0.0327 0.1142)
OKLCHoklch(61.68% 0.119 106)
XYZxyz(20.5776, 23.8531, 5.1100)
Luminance0.2385 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8923 #23298F
analogous
#8F5323 #8F8923 #5F8F23
triadic
#8F8923 #238F89 #89238F
tetradic
#8F8923 #238F53 #23298F #8F235F
square
#8F8923 #238F53 #23298F #8F235F
split-complementary
#8F8923 #235F8F #53238F
monochromatic
#2D2B0B #5E5A17 #8F8923 #C0B82F #D6CF57

Accessibility & contrast

On white

3.64
#8F8923 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#8F8923 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8923
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8923#FFFFFF#000000##000000
##8F89231.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#95840E
Deuteranopia (green-blind)
#98882B
Tritanopia (blue-blind)
#9A7F75
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #8f8923;
/* rgb */ color: rgb(143, 137, 35);
/* oklch */ color: oklch(61.7% 0.119 106.0);
Tailwind
colors: {
  custom: {
    50: '#b3ab66',
    500: '#8f8923',
    950: '#000000',
  },
}
SCSS
$custom: #8f8923;
$custom-light: #b3ab66;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8923",
  "rgb": {
    "r": 143,
    "g": 137,
    "b": 35
  },
  "hsl": {
    "h": 56.667,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.6168,
    "c": 0.11877,
    "h": 106
  },
  "luminance": 0.23852
}

Semantic roles & 50–950 ramp

primary
#8F8923
secondary
#545ABA
accent
#4DE444
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8F8923

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

Preview Lab → · Contrast checker → · Palette generator →

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