#8A9E23#8A9E23

#8A9E23 is a light, vivid yellow. Relative luminance 0.300; OKLCH L 66.1% C 0.143 H 118.8°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#8A9E23
RGBrgb(138, 158, 35)
HSLhsl(70, 64%, 38%)
HSVhsv(70, 78%, 62%)
CMYKcmyk(12.7%, 0%, 77.8%, 38%)
CIE-LABlab(61.64, -23.00, 57.06)
CIE-LCHlch(61.64, 61.52, 111.96°)
OKLaboklab(66.14% -0.0689 0.1253)
OKLCHoklch(66.14% 0.143 118.8)
XYZxyz(23.0120, 29.9785, 6.1639)
Luminance0.2998 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9E23 #37239E
analogous
#9E7423 #8A9E23 #4C9E23
triadic
#8A9E23 #238A9E #9E238A
tetradic
#8A9E23 #239E74 #37239E #9E234C
square
#8A9E23 #239E74 #37239E #9E234C
split-complementary
#8A9E23 #234C9E #74239E
monochromatic
#323A0D #5E6C18 #8A9E23 #B6D02E #C8DC60

Accessibility & contrast

On white

3.00
#8A9E23 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

7.00
#8A9E23 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #8A9E23
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9E23#FFFFFF#000000##000000
##8A9E231.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99501
Deuteranopia (green-blind)
#A6952F
Tritanopia (blue-blind)
#939587
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #8a9e23;
/* rgb */ color: rgb(138, 158, 35);
/* oklch */ color: oklch(66.1% 0.143 118.8);
Tailwind
colors: {
  custom: {
    50: '#b0ba69',
    500: '#8a9e23',
    950: '#000000',
  },
}
SCSS
$custom: #8a9e23;
$custom-light: #b0ba69;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9e23",
  "rgb": {
    "r": 138,
    "g": 158,
    "b": 35
  },
  "hsl": {
    "h": 69.756,
    "s": 63.731,
    "l": 37.843
  },
  "oklch": {
    "l": 0.66142,
    "c": 0.14301,
    "h": 118.8
  },
  "luminance": 0.29978
}

Semantic roles & 50–950 ramp

primary
#8A9E23
secondary
#6D5CC1
accent
#41E75C
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#111107
muted
#80807A

Preview Lab

Preview with #8A9E23

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

Preview Lab → · Contrast checker → · Palette generator →

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