#8F8823#8F8823

#8F8823 is a mid, moderate yellow. Relative luminance 0.236; OKLCH L 61.5% C 0.118 H 105.3°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#8F8823
RGBrgb(143, 136, 35)
HSLhsl(56, 61%, 35%)
HSVhsv(56, 76%, 56%)
CMYKcmyk(0%, 4.9%, 75.5%, 43.9%)
CIE-LABlab(55.65, -9.32, 51.62)
CIE-LCHlch(55.65, 52.46, 100.23°)
OKLaboklab(61.45% -0.0311 0.1136)
OKLCHoklch(61.45% 0.118 105.3)
XYZxyz(20.4361, 23.5701, 5.0628)
Luminance0.2357 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8823 #232A8F
analogous
#8F5223 #8F8823 #608F23
triadic
#8F8823 #238F88 #88238F
tetradic
#8F8823 #238F52 #232A8F #8F2360
square
#8F8823 #238F52 #232A8F #8F2360
split-complementary
#8F8823 #23608F #52238F
monochromatic
#2D2A0B #5E5917 #8F8823 #C0B72F #D6CE57

Accessibility & contrast

On white

3.68
#8F8823 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#8F8823 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8823
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8823#FFFFFF#000000##000000
##8F88231.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#94830F
Deuteranopia (green-blind)
#97872A
Tritanopia (blue-blind)
#9A7E75
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #8f8823;
/* rgb */ color: rgb(143, 136, 35);
/* oklch */ color: oklch(61.5% 0.118 105.3);
Tailwind
colors: {
  custom: {
    50: '#b3aa66',
    500: '#8f8823',
    950: '#000000',
  },
}
SCSS
$custom: #8f8823;
$custom-light: #b3aa66;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8823",
  "rgb": {
    "r": 143,
    "g": 136,
    "b": 35
  },
  "hsl": {
    "h": 56.111,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.61452,
    "c": 0.11781,
    "h": 105.3
  },
  "luminance": 0.23569
}

Semantic roles & 50–950 ramp

primary
#8F8823
secondary
#545BBA
accent
#4EE444
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8F8823

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

Preview Lab → · Contrast checker → · Palette generator →

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