#8A921E#8A921E

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

Color values

HEX#8A921E
RGBrgb(138, 146, 30)
HSLhsl(64, 66%, 35%)
HSVhsv(64, 79%, 57%)
CMYKcmyk(5.5%, 0%, 79.5%, 42.7%)
CIE-LABlab(58.09, -17.10, 55.41)
CIE-LCHlch(58.09, 57.99, 107.15°)
OKLaboklab(63.29% -0.053 0.1209)
OKLCHoklch(63.29% 0.132 113.7)
XYZxyz(20.9951, 26.0552, 5.1512)
Luminance0.2606 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A921E #261E92
analogous
#92601E #8A921E #50921E
triadic
#8A921E #1E8A92 #921E8A
tetradic
#8A921E #1E9260 #261E92 #921E50
square
#8A921E #1E9260 #261E92 #921E50
split-complementary
#8A921E #1E5092 #601E92
monochromatic
#2A2C09 #5A5F14 #8A921E #BAC528 #D1DB4F

Accessibility & contrast

On white

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

On black

6.21
#8A921E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #8A921E
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##8A921E#FFFFFF#000000##000000
##8A921E1.003.386.216.21
#FFFFFF3.381.0021.0021.00
#0000006.2121.001.001.00
##0000006.2121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #8a921e;
/* rgb */ color: rgb(138, 146, 30);
/* oklch */ color: oklch(63.3% 0.132 113.7);
Tailwind
colors: {
  custom: {
    50: '#b0b165',
    500: '#8a921e',
    950: '#000000',
  },
}
SCSS
$custom: #8a921e;
$custom-light: #b0b165;
$custom-dark: #000000;
JSON
{
  "hex": "#8a921e",
  "rgb": {
    "r": 138,
    "g": 146,
    "b": 30
  },
  "hsl": {
    "h": 64.138,
    "s": 65.909,
    "l": 34.51
  },
  "oklch": {
    "l": 0.63285,
    "c": 0.13202,
    "h": 113.7
  },
  "luminance": 0.26055
}

Semantic roles & 50–950 ramp

primary
#8A921E
secondary
#564EBE
accent
#3FE94B
background
#FBFAF6
surface
#F6F5EB
border
#D0CFC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #8A921E

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

Preview Lab → · Contrast checker → · Palette generator →

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