#8F8123#8F8123

#8F8123 is a mid, moderate yellow. Relative luminance 0.217; OKLCH L 59.9% C 0.111 H 100.5°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#8F8123
RGBrgb(143, 129, 35)
HSLhsl(52, 61%, 35%)
HSVhsv(52, 76%, 56%)
CMYKcmyk(0%, 9.8%, 75.5%, 43.9%)
CIE-LABlab(53.67, -5.48, 49.74)
CIE-LCHlch(53.67, 50.04, 96.29°)
OKLaboklab(59.87% -0.0203 0.1096)
OKLCHoklch(59.87% 0.111 100.5)
XYZxyz(19.4822, 21.6624, 4.7448)
Luminance0.2166 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8123 #23318F
analogous
#8F4B23 #8F8123 #678F23
triadic
#8F8123 #238F81 #81238F
tetradic
#8F8123 #238F4B #23318F #8F2367
square
#8F8123 #238F4B #23318F #8F2367
split-complementary
#8F8123 #23678F #4B238F
monochromatic
#2D280B #5E5517 #8F8123 #C0AD2F #D6C557

Accessibility & contrast

On white

3.94
#8F8123 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#8F8123 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8123
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8123#FFFFFF#000000##000000
##8F81231.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D12
Deuteranopia (green-blind)
#928329
Tritanopia (blue-blind)
#9A776F
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #8f8123;
/* rgb */ color: rgb(143, 129, 35);
/* oklch */ color: oklch(59.9% 0.111 100.5);
Tailwind
colors: {
  custom: {
    50: '#b3a565',
    500: '#8f8123',
    950: '#000000',
  },
}
SCSS
$custom: #8f8123;
$custom-light: #b3a565;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8123",
  "rgb": {
    "r": 143,
    "g": 129,
    "b": 35
  },
  "hsl": {
    "h": 52.222,
    "s": 60.674,
    "l": 34.902
  },
  "oklch": {
    "l": 0.59872,
    "c": 0.11148,
    "h": 100.5
  },
  "luminance": 0.21662
}

Semantic roles & 50–950 ramp

primary
#8F8123
secondary
#5461BA
accent
#59E444
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #8F8123

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

Preview Lab → · Contrast checker → · Palette generator →

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