#8CA01F#8CA01F

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

Color values

HEX#8CA01F
RGBrgb(140, 160, 31)
HSLhsl(69, 68%, 37%)
HSVhsv(69, 81%, 63%)
CMYKcmyk(12.5%, 0%, 80.6%, 37.3%)
CIE-LABlab(62.35, -23.31, 58.99)
CIE-LCHlch(62.35, 63.43, 111.56°)
OKLaboklab(66.75% -0.0702 0.1286)
OKLCHoklch(66.75% 0.147 118.6)
XYZxyz(23.6339, 30.8162, 5.9991)
Luminance0.3082 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA01F #331FA0
analogous
#A0731F #8CA01F #4CA01F
triadic
#8CA01F #1F8CA0 #A01F8C
tetradic
#8CA01F #1FA073 #331FA0 #A01F4C
square
#8CA01F #1FA073 #331FA0 #A01F4C
split-complementary
#8CA01F #1F4CA0 #731FA0
monochromatic
#32390B #5F6D15 #8CA01F #B9D329 #CBDF5A

Accessibility & contrast

On white

2.93
#8CA01F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.16
#8CA01F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA01F
7.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA01F#FFFFFF#000000##000000
##8CA01F1.002.937.167.16
#FFFFFF2.931.0021.0021.00
#0000007.1621.001.001.00
##0000007.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9700
Deuteranopia (green-blind)
#A9972C
Tritanopia (blue-blind)
#959789
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #8ca01f;
/* rgb */ color: rgb(140, 160, 31);
/* oklch */ color: oklch(66.8% 0.147 118.6);
Tailwind
colors: {
  custom: {
    50: '#b1bc67',
    500: '#8ca01f',
    950: '#000000',
  },
}
SCSS
$custom: #8ca01f;
$custom-light: #b1bc67;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca01f",
  "rgb": {
    "r": 140,
    "g": 160,
    "b": 31
  },
  "hsl": {
    "h": 69.302,
    "s": 67.539,
    "l": 37.451
  },
  "oklch": {
    "l": 0.6675,
    "c": 0.14653,
    "h": 118.6
  },
  "luminance": 0.30816
}

Semantic roles & 50–950 ramp

primary
#8CA01F
secondary
#6858C3
accent
#3DEA58
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8CA01F

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

Preview Lab → · Contrast checker → · Palette generator →

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