#8A9223#8A9223

#8A9223 is a light, vivid yellow. Relative luminance 0.261; OKLCH L 63.3% C 0.129 H 113.7°. Best body text is #000000 at 6.22:1 contrast (WCAG AA passes).

Color values

HEX#8A9223
RGBrgb(138, 146, 35)
HSLhsl(64, 61%, 35%)
HSVhsv(64, 76%, 57%)
CMYKcmyk(5.5%, 0%, 76%, 42.7%)
CIE-LABlab(58.12, -16.89, 53.79)
CIE-LCHlch(58.12, 56.38, 107.43°)
OKLaboklab(63.31% -0.052 0.1184)
OKLCHoklch(63.31% 0.129 113.7)
XYZxyz(21.0641, 26.0828, 5.5147)
Luminance0.2608 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9223 #2B2392
analogous
#926223 #8A9223 #539223
triadic
#8A9223 #238A92 #92238A
tetradic
#8A9223 #239262 #2B2392 #922353
square
#8A9223 #239262 #2B2392 #922353
split-complementary
#8A9223 #235392 #622392
monochromatic
#2D2F0B #5B6117 #8A9223 #B9C32F #CED758

Accessibility & contrast

On white

3.38
#8A9223 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.22
#8A9223 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9223
6.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9223#FFFFFF#000000##000000
##8A92231.003.386.226.22
#FFFFFF3.381.0021.0021.00
#0000006.2221.001.001.00
##0000006.2221.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B09
Deuteranopia (green-blind)
#9D8D2C
Tritanopia (blue-blind)
#94897D
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8a9223;
/* rgb */ color: rgb(138, 146, 35);
/* oklch */ color: oklch(63.3% 0.129 113.7);
Tailwind
colors: {
  custom: {
    50: '#afb167',
    500: '#8a9223',
    950: '#000000',
  },
}
SCSS
$custom: #8a9223;
$custom-light: #afb167;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9223",
  "rgb": {
    "r": 138,
    "g": 146,
    "b": 35
  },
  "hsl": {
    "h": 64.324,
    "s": 61.326,
    "l": 35.49
  },
  "oklch": {
    "l": 0.63314,
    "c": 0.1293,
    "h": 113.7
  },
  "luminance": 0.26082
}

Semantic roles & 50–950 ramp

primary
#8A9223
secondary
#5D55BB
accent
#43E44F
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8A9223

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

Preview Lab → · Contrast checker → · Palette generator →

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