#8A9323#8A9323

#8A9323 is a light, vivid yellow. Relative luminance 0.264; OKLCH L 63.5% C 0.130 H 114.2°. Best body text is #000000 at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#8A9323
RGBrgb(138, 147, 35)
HSLhsl(65, 62%, 36%)
HSVhsv(65, 76%, 58%)
CMYKcmyk(6.1%, 0%, 76.2%, 42.4%)
CIE-LABlab(58.41, -17.40, 54.06)
CIE-LCHlch(58.41, 56.79, 107.85°)
OKLaboklab(63.55% -0.0534 0.119)
OKLCHoklch(63.55% 0.13 114.2)
XYZxyz(21.2190, 26.3925, 5.5663)
Luminance0.2639 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9323 #2C2393
analogous
#936423 #8A9323 #529323
triadic
#8A9323 #238A93 #93238A
tetradic
#8A9323 #239364 #2C2393 #932352
square
#8A9323 #239364 #2C2393 #932352
split-complementary
#8A9323 #235293 #642393
monochromatic
#2D300B #5C6217 #8A9323 #B8C42F #CDD759

Accessibility & contrast

On white

3.34
#8A9323 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.28
#8A9323 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9323
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9323#FFFFFF#000000##000000
##8A93231.003.346.286.28
#FFFFFF3.341.0021.0021.00
#0000006.2821.001.001.00
##0000006.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8B09
Deuteranopia (green-blind)
#9E8D2D
Tritanopia (blue-blind)
#938A7E
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8a9323;
/* rgb */ color: rgb(138, 147, 35);
/* oklch */ color: oklch(63.5% 0.130 114.2);
Tailwind
colors: {
  custom: {
    50: '#afb267',
    500: '#8a9323',
    950: '#000000',
  },
}
SCSS
$custom: #8a9323;
$custom-light: #afb267;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9323",
  "rgb": {
    "r": 138,
    "g": 147,
    "b": 35
  },
  "hsl": {
    "h": 64.821,
    "s": 61.538,
    "l": 35.686
  },
  "oklch": {
    "l": 0.63548,
    "c": 0.13042,
    "h": 114.2
  },
  "luminance": 0.26392
}

Semantic roles & 50–950 ramp

primary
#8A9323
secondary
#5E56BC
accent
#43E550
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8A9323

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

Preview Lab → · Contrast checker → · Palette generator →

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