#8A9023#8A9023

#8A9023 is a light, vivid yellow. Relative luminance 0.255; OKLCH L 62.8% C 0.127 H 112.7°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#8A9023
RGBrgb(138, 144, 35)
HSLhsl(63, 61%, 35%)
HSVhsv(63, 76%, 56%)
CMYKcmyk(4.2%, 0%, 75.7%, 43.5%)
CIE-LABlab(57.53, -15.84, 53.24)
CIE-LCHlch(57.53, 55.55, 106.57°)
OKLaboklab(62.85% -0.0491 0.1172)
OKLCHoklch(62.85% 0.127 112.7)
XYZxyz(20.7585, 25.4716, 5.4128)
Luminance0.2547 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9023 #292390
analogous
#906023 #8A9023 #539023
triadic
#8A9023 #238A90 #90238A
tetradic
#8A9023 #239060 #292390 #902353
square
#8A9023 #239060 #292390 #902353
split-complementary
#8A9023 #235390 #602390
monochromatic
#2C2E0B #5B5F17 #8A9023 #B9C12F #CFD657

Accessibility & contrast

On white

3.45
#8A9023 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#8A9023 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9023
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9023#FFFFFF#000000##000000
##8A90231.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B890B
Deuteranopia (green-blind)
#9B8B2C
Tritanopia (blue-blind)
#94877B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8a9023;
/* rgb */ color: rgb(138, 144, 35);
/* oklch */ color: oklch(62.8% 0.127 112.7);
Tailwind
colors: {
  custom: {
    50: '#afb067',
    500: '#8a9023',
    950: '#000000',
  },
}
SCSS
$custom: #8a9023;
$custom-light: #afb067;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9023",
  "rgb": {
    "r": 138,
    "g": 144,
    "b": 35
  },
  "hsl": {
    "h": 63.303,
    "s": 60.894,
    "l": 35.098
  },
  "oklch": {
    "l": 0.62847,
    "c": 0.12709,
    "h": 112.7
  },
  "luminance": 0.25471
}

Semantic roles & 50–950 ramp

primary
#8A9023
secondary
#5A54BA
accent
#44E44D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8A9023

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

Preview Lab → · Contrast checker → · Palette generator →

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