#8F8623#8F8623

#8F8623 is a mid, moderate yellow. Relative luminance 0.230; OKLCH L 61.0% C 0.116 H 104.0°. Best body text is #000000 at 5.60:1 contrast (WCAG AA passes).

Color values

HEX#8F8623
RGBrgb(143, 134, 35)
HSLhsl(55, 61%, 35%)
HSVhsv(55, 76%, 56%)
CMYKcmyk(0%, 6.3%, 75.5%, 43.9%)
CIE-LABlab(55.08, -8.23, 51.08)
CIE-LCHlch(55.08, 51.74, 99.15°)
OKLaboklab(61% -0.0281 0.1125)
OKLCHoklch(61% 0.116 104)
XYZxyz(20.1570, 23.0120, 4.9698)
Luminance0.2301 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8623 #232C8F
analogous
#8F5023 #8F8623 #628F23
triadic
#8F8623 #238F86 #86238F
tetradic
#8F8623 #238F50 #232C8F #8F2362
square
#8F8623 #238F50 #232C8F #8F2362
split-complementary
#8F8623 #23628F #50238F
monochromatic
#2D2A0B #5E5817 #8F8623 #C0B42F #D6CB57

Accessibility & contrast

On white

3.75
#8F8623 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.60
#8F8623 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8623
5.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8623#FFFFFF#000000##000000
##8F86231.003.755.605.60
#FFFFFF3.751.0021.0021.00
#0000005.6021.001.001.00
##0000005.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#928110
Deuteranopia (green-blind)
#95862A
Tritanopia (blue-blind)
#9A7C73
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #8f8623;
/* rgb */ color: rgb(143, 134, 35);
/* oklch */ color: oklch(61.0% 0.116 104.0);
Tailwind
colors: {
  custom: {
    50: '#b3a866',
    500: '#8f8623',
    950: '#000000',
  },
}
SCSS
$custom: #8f8623;
$custom-light: #b3a866;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8623",
  "rgb": {
    "r": 143,
    "g": 134,
    "b": 35
  },
  "hsl": {
    "h": 55,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.60998,
    "c": 0.11592,
    "h": 104
  },
  "luminance": 0.23011
}

Semantic roles & 50–950 ramp

primary
#8F8623
secondary
#545CBA
accent
#51E444
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8F8623

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

Preview Lab → · Contrast checker → · Palette generator →

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