#8F9226#8F9226

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

Color values

HEX#8F9226
RGBrgb(143, 146, 38)
HSLhsl(62, 59%, 36%)
HSVhsv(62, 74%, 57%)
CMYKcmyk(2.1%, 0%, 74%, 42.7%)
CIE-LABlab(58.54, -14.52, 53.28)
CIE-LCHlch(58.54, 55.22, 105.24°)
OKLaboklab(63.76% -0.0454 0.1177)
OKLCHoklch(63.76% 0.126 111.1)
XYZxyz(21.9572, 26.5379, 5.7990)
Luminance0.2654 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9226 #292692
analogous
#925F26 #8F9226 #599226
triadic
#8F9226 #268F92 #92268F
tetradic
#8F9226 #26925F #292692 #922659
square
#8F9226 #26925F #292692 #922659
split-complementary
#8F9226 #265992 #5F2692
monochromatic
#30310D #5F6119 #8F9226 #BFC333 #D2D55D

Accessibility & contrast

On white

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

On black

6.31
#8F9226 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F9226
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9226#FFFFFF#000000##000000
##8F92261.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8f9226;
/* rgb */ color: rgb(143, 146, 38);
/* oklch */ color: oklch(63.8% 0.126 111.1);
Tailwind
colors: {
  custom: {
    50: '#b3b169',
    500: '#8f9226',
    950: '#000000',
  },
}
SCSS
$custom: #8f9226;
$custom-light: #b3b169;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9226",
  "rgb": {
    "r": 143,
    "g": 146,
    "b": 38
  },
  "hsl": {
    "h": 61.667,
    "s": 58.696,
    "l": 36.078
  },
  "oklch": {
    "l": 0.63764,
    "c": 0.12614,
    "h": 111.1
  },
  "luminance": 0.26537
}

Semantic roles & 50–950 ramp

primary
#8F9226
secondary
#5C5ABA
accent
#46E24A
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111007
muted
#807F7A

Preview Lab

Preview with #8F9226

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

Preview Lab → · Contrast checker → · Palette generator →

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