#8CA023#8CA023

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

Color values

HEX#8CA023
RGBrgb(140, 160, 35)
HSLhsl(70, 64%, 38%)
HSVhsv(70, 78%, 63%)
CMYKcmyk(12.5%, 0%, 78.1%, 37.3%)
CIE-LABlab(62.37, -23.14, 57.79)
CIE-LCHlch(62.37, 62.25, 111.83°)
OKLaboklab(66.77% -0.0694 0.1268)
OKLCHoklch(66.77% 0.145 118.7)
XYZxyz(23.6899, 30.8386, 6.2942)
Luminance0.3084 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8CA023 #3723A0
analogous
#A07523 #8CA023 #4DA023
triadic
#8CA023 #238CA0 #A0238C
tetradic
#8CA023 #23A075 #3723A0 #A0234D
square
#8CA023 #23A075 #3723A0 #A0234D
split-complementary
#8CA023 #234DA0 #7523A0
monochromatic
#343C0D #606E18 #8CA023 #B7D12F #C9DC61

Accessibility & contrast

On white

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

On black

7.17
#8CA023 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8CA023
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8CA023#FFFFFF#000000##000000
##8CA0231.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8ca023;
/* rgb */ color: rgb(140, 160, 35);
/* oklch */ color: oklch(66.8% 0.145 118.7);
Tailwind
colors: {
  custom: {
    50: '#b1bc69',
    500: '#8ca023',
    950: '#000000',
  },
}
SCSS
$custom: #8ca023;
$custom-light: #b1bc69;
$custom-dark: #000000;
JSON
{
  "hex": "#8ca023",
  "rgb": {
    "r": 140,
    "g": 160,
    "b": 35
  },
  "hsl": {
    "h": 69.6,
    "s": 64.103,
    "l": 38.235
  },
  "oklch": {
    "l": 0.66771,
    "c": 0.14454,
    "h": 118.7
  },
  "luminance": 0.30838
}

Semantic roles & 50–950 ramp

primary
#8CA023
secondary
#6D5DC1
accent
#41E75B
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111207
muted
#80817A

Preview Lab

Preview with #8CA023

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

Preview Lab → · Contrast checker → · Palette generator →

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