#8F9F25#8F9F25

#8F9F25 is a light, vivid yellow. Relative luminance 0.308; OKLCH L 66.8% C 0.141 H 117.1°. Best body text is #000000 at 7.15:1 contrast (WCAG AA passes).

Color values

HEX#8F9F25
RGBrgb(143, 159, 37)
HSLhsl(68, 62%, 38%)
HSVhsv(68, 77%, 62%)
CMYKcmyk(10.1%, 0%, 76.7%, 37.6%)
CIE-LABlab(62.31, -21.26, 57.17)
CIE-LCHlch(62.31, 61.00, 110.40°)
OKLaboklab(66.78% -0.0642 0.1257)
OKLCHoklch(66.78% 0.141 117.1)
XYZxyz(24.0604, 30.7698, 6.4216)
Luminance0.3077 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8F9F25 #35259F
analogous
#9F7225 #8F9F25 #529F25
triadic
#8F9F25 #258F9F #9F258F
tetradic
#8F9F25 #259F72 #35259F #9F2552
square
#8F9F25 #259F72 #35259F #9F2552
split-complementary
#8F9F25 #25529F #72259F
monochromatic
#363C0E #626D19 #8F9F25 #BBCF32 #CBDB64

Accessibility & contrast

On white

2.94
#8F9F25 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.15
#8F9F25 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8F9F25
7.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8F9F25#FFFFFF#000000##000000
##8F9F251.002.947.157.15
#FFFFFF2.941.0021.0021.00
#0000007.1521.001.001.00
##0000007.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9606
Deuteranopia (green-blind)
#A99730
Tritanopia (blue-blind)
#989688
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8f9f25;
/* rgb */ color: rgb(143, 159, 37);
/* oklch */ color: oklch(66.8% 0.141 117.1);
Tailwind
colors: {
  custom: {
    50: '#b3bb6a',
    500: '#8f9f25',
    950: '#000000',
  },
}
SCSS
$custom: #8f9f25;
$custom-light: #b3bb6a;
$custom-dark: #000000;
JSON
{
  "hex": "#8f9f25",
  "rgb": {
    "r": 143,
    "g": 159,
    "b": 37
  },
  "hsl": {
    "h": 67.869,
    "s": 62.245,
    "l": 38.431
  },
  "oklch": {
    "l": 0.66784,
    "c": 0.14119,
    "h": 117.1
  },
  "luminance": 0.30769
}

Semantic roles & 50–950 ramp

primary
#8F9F25
secondary
#6C5FC0
accent
#42E558
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8F9F25

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

Preview Lab → · Contrast checker → · Palette generator →

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