#8F8B22#8F8B22

#8F8B22 is a light, vivid yellow. Relative luminance 0.244; OKLCH L 62.1% C 0.121 H 107.2°. Best body text is #000000 at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#8F8B22
RGBrgb(143, 139, 34)
HSLhsl(58, 62%, 35%)
HSVhsv(58, 76%, 56%)
CMYKcmyk(0%, 2.8%, 76.2%, 43.9%)
CIE-LABlab(56.51, -10.98, 52.78)
CIE-LCHlch(56.51, 53.91, 101.75°)
OKLaboklab(62.13% -0.0359 0.1159)
OKLCHoklch(62.13% 0.121 107.2)
XYZxyz(20.8499, 24.4211, 5.1285)
Luminance0.2442 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F8B22 #22268F
analogous
#8F5422 #8F8B22 #5D8F22
triadic
#8F8B22 #228F8B #8B228F
tetradic
#8F8B22 #228F54 #22268F #8F225D
square
#8F8B22 #228F54 #22268F #8F225D
split-complementary
#8F8B22 #225D8F #54228F
monochromatic
#2C2B0A #5E5B16 #8F8B22 #C0BB2E #D7D255

Accessibility & contrast

On white

3.57
#8F8B22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.88
#8F8B22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8F8B22
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F8B22#FFFFFF#000000##000000
##8F8B221.003.575.885.88
#FFFFFF3.571.0021.0021.00
#0000005.8821.001.001.00
##0000005.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#97850B
Deuteranopia (green-blind)
#99892A
Tritanopia (blue-blind)
#9A8177
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #8f8b22;
/* rgb */ color: rgb(143, 139, 34);
/* oklch */ color: oklch(62.1% 0.121 107.2);
Tailwind
colors: {
  custom: {
    50: '#b3ac66',
    500: '#8f8b22',
    950: '#000000',
  },
}
SCSS
$custom: #8f8b22;
$custom-light: #b3ac66;
$custom-dark: #000000;
JSON
{
  "hex": "#8f8b22",
  "rgb": {
    "r": 143,
    "g": 139,
    "b": 34
  },
  "hsl": {
    "h": 57.798,
    "s": 61.582,
    "l": 34.706
  },
  "oklch": {
    "l": 0.62129,
    "c": 0.12131,
    "h": 107.2
  },
  "luminance": 0.2442
}

Semantic roles & 50–950 ramp

primary
#8F8B22
secondary
#5256BA
accent
#49E543
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8F8B22

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

Preview Lab → · Contrast checker → · Palette generator →

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