#8A9230#8A9230

#8A9230 is a light, vivid yellow. Relative luminance 0.262; OKLCH L 63.4% C 0.121 H 113.8°. Best body text is #000000 at 6.23:1 contrast (WCAG AA passes).

Color values

HEX#8A9230
RGBrgb(138, 146, 48)
HSLhsl(65, 51%, 38%)
HSVhsv(65, 67%, 57%)
CMYKcmyk(5.5%, 0%, 67.1%, 42.7%)
CIE-LABlab(58.20, -16.16, 48.87)
CIE-LCHlch(58.20, 51.48, 108.30°)
OKLaboklab(63.41% -0.0487 0.1103)
OKLCHoklch(63.41% 0.121 113.8)
XYZxyz(21.2942, 26.1748, 6.7262)
Luminance0.2617 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A9230 #383092
analogous
#926930 #8A9230 #599230
triadic
#8A9230 #308A92 #92308A
tetradic
#8A9230 #309269 #383092 #923059
square
#8A9230 #309269 #383092 #923059
split-complementary
#8A9230 #305992 #693092
monochromatic
#333612 #5E6421 #8A9230 #B5C03F #C7CF6D

Accessibility & contrast

On white

3.37
#8A9230 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.23
#8A9230 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A9230
6.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A9230#FFFFFF#000000##000000
##8A92301.003.376.236.23
#FFFFFF3.371.0021.0021.00
#0000006.2321.001.001.00
##0000006.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B22
Deuteranopia (green-blind)
#9C8D37
Tritanopia (blue-blind)
#93897E
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8a9230;
/* rgb */ color: rgb(138, 146, 48);
/* oklch */ color: oklch(63.4% 0.121 113.8);
Tailwind
colors: {
  custom: {
    50: '#afb16e',
    500: '#8a9230',
    950: '#000000',
  },
}
SCSS
$custom: #8a9230;
$custom-light: #afb16e;
$custom-dark: #000000;
JSON
{
  "hex": "#8a9230",
  "rgb": {
    "r": 138,
    "g": 146,
    "b": 48
  },
  "hsl": {
    "h": 64.898,
    "s": 50.515,
    "l": 38.039
  },
  "oklch": {
    "l": 0.63412,
    "c": 0.12057,
    "h": 113.8
  },
  "luminance": 0.26174
}

Semantic roles & 50–950 ramp

primary
#8A9230
secondary
#6E67B7
accent
#4EDA59
background
#FBFAF6
surface
#F6F5EC
border
#D0CFC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8A9230

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

Preview Lab → · Contrast checker → · Palette generator →

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