#8F9223#8F9223

#8F9223 is a light, vivid yellow. Relative luminance 0.265; OKLCH L 63.7% C 0.128 H 111.1°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#8F9223
RGBrgb(143, 146, 35)
HSLhsl(62, 61%, 35%)
HSVhsv(62, 76%, 57%)
CMYKcmyk(2.1%, 0%, 76%, 42.7%)
CIE-LABlab(58.53, -14.66, 54.32)
CIE-LCHlch(58.53, 56.26, 105.10°)
OKLaboklab(63.74% -0.0461 0.1193)
OKLCHoklch(63.74% 0.128 111.1)
XYZxyz(21.9107, 26.5193, 5.5543)
Luminance0.2652 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9223 #262392
analogous
#925E23 #8F9223 #579223
triadic
#8F9223 #238F92 #92238F
tetradic
#8F9223 #23925E #262392 #922357
square
#8F9223 #23925E #262392 #922357
split-complementary
#8F9223 #235792 #5E2392
monochromatic
#2E2F0B #5F6117 #8F9223 #BFC32F #D4D758

Accessibility & contrast

On white

3.33
#8F9223 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#8F9223 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F9223
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9223#FFFFFF#000000##000000
##8F92231.003.336.306.30
#FFFFFF3.331.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B09
Deuteranopia (green-blind)
#9F8E2C
Tritanopia (blue-blind)
#99897D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #8f9223;
/* rgb */ color: rgb(143, 146, 35);
/* oklch */ color: oklch(63.7% 0.128 111.1);
Tailwind
colors: {
  custom: {
    50: '#b3b167',
    500: '#8f9223',
    950: '#000000',
  },
}
SCSS
$custom: #8f9223;
$custom-light: #b3b167;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9223",
  "rgb": {
    "r": 143,
    "g": 146,
    "b": 35
  },
  "hsl": {
    "h": 61.622,
    "s": 61.326,
    "l": 35.49
  },
  "oklch": {
    "l": 0.63744,
    "c": 0.12793,
    "h": 111.1
  },
  "luminance": 0.26519
}

Semantic roles & 50–950 ramp

primary
#8F9223
secondary
#5855BB
accent
#43E448
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8F9223

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

Preview Lab → · Contrast checker → · Palette generator →

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