#8A922B#8A922B

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

Color values

HEX#8A922B
RGBrgb(138, 146, 43)
HSLhsl(65, 54%, 37%)
HSVhsv(65, 71%, 57%)
CMYKcmyk(5.5%, 0%, 70.5%, 42.7%)
CIE-LABlab(58.17, -16.47, 50.87)
CIE-LCHlch(58.17, 53.47, 107.94°)
OKLaboklab(63.37% -0.0501 0.1137)
OKLCHoklch(63.37% 0.124 113.8)
XYZxyz(21.1968, 26.1359, 6.2131)
Luminance0.2614 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#8A922B #332B92
analogous
#92672B #8A922B #57922B
triadic
#8A922B #2B8A92 #922B8A
tetradic
#8A922B #2B9267 #332B92 #922B57
square
#8A922B #2B9267 #332B92 #922B57
split-complementary
#8A922B #2B5792 #672B92
monochromatic
#31330F #5D631D #8A922B #B7C139 #C9D266

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##8A922B#FFFFFF#000000##000000
##8A922B1.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)
#9D8B1A
Deuteranopia (green-blind)
#9D8D33
Tritanopia (blue-blind)
#93897E
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #8a922b;
/* rgb */ color: rgb(138, 146, 43);
/* oklch */ color: oklch(63.4% 0.124 113.8);
Tailwind
colors: {
  custom: {
    50: '#afb16b',
    500: '#8a922b',
    950: '#000000',
  },
}
SCSS
$custom: #8a922b;
$custom-light: #afb16b;
$custom-dark: #000000;
JSON
{
  "hex": "#8a922b",
  "rgb": {
    "r": 138,
    "g": 146,
    "b": 43
  },
  "hsl": {
    "h": 64.66,
    "s": 54.497,
    "l": 37.059
  },
  "oklch": {
    "l": 0.6337,
    "c": 0.12421,
    "h": 113.8
  },
  "luminance": 0.26135
}

Semantic roles & 50–950 ramp

primary
#8A922B
secondary
#6761B8
accent
#4ADE55
background
#FBFAF6
surface
#F6F5EC
border
#D0CFC7
text
#111007
muted
#807F7A

Preview Lab

Preview with #8A922B

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

Preview Lab → · Contrast checker → · Palette generator →

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