#8A9022#8A9022

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

Color values

HEX#8A9022
RGBrgb(138, 144, 34)
HSLhsl(63, 62%, 35%)
HSVhsv(63, 76%, 56%)
CMYKcmyk(4.2%, 0%, 76.4%, 43.5%)
CIE-LABlab(57.53, -15.89, 53.58)
CIE-LCHlch(57.53, 55.89, 106.52°)
OKLaboklab(62.84% -0.0493 0.1178)
OKLCHoklch(62.84% 0.128 112.7)
XYZxyz(20.7439, 25.4658, 5.3357)
Luminance0.2546 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9022 #282290
analogous
#905F22 #8A9022 #539022
triadic
#8A9022 #228A90 #90228A
tetradic
#8A9022 #22905F #282290 #902253
square
#8A9022 #22905F #282290 #902253
split-complementary
#8A9022 #225390 #5F2290
monochromatic
#2B2D0B #5B5E16 #8A9022 #B9C22E #D0D755

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A9022#FFFFFF#000000##000000
##8A90221.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)
#9B8908
Deuteranopia (green-blind)
#9B8B2B
Tritanopia (blue-blind)
#94877B
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #8a9022;
/* rgb */ color: rgb(138, 144, 34);
/* oklch */ color: oklch(62.8% 0.128 112.7);
Tailwind
colors: {
  custom: {
    50: '#afb066',
    500: '#8a9022',
    950: '#000000',
  },
}
SCSS
$custom: #8a9022;
$custom-light: #afb066;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9022",
  "rgb": {
    "r": 138,
    "g": 144,
    "b": 34
  },
  "hsl": {
    "h": 63.273,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.6284,
    "c": 0.12768,
    "h": 112.7
  },
  "luminance": 0.25465
}

Semantic roles & 50–950 ramp

primary
#8A9022
secondary
#5953BB
accent
#43E54C
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8A9022

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

Preview Lab → · Contrast checker → · Palette generator →

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