#928822#928822

#928822 is a mid, moderate yellow. Relative luminance 0.238; OKLCH L 61.7% C 0.118 H 103.6°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#928822
RGBrgb(146, 136, 34)
HSLhsl(55, 62%, 35%)
HSVhsv(55, 77%, 57%)
CMYKcmyk(0%, 6.8%, 76.7%, 42.7%)
CIE-LABlab(55.92, -7.99, 52.34)
CIE-LCHlch(55.92, 52.94, 98.68°)
OKLaboklab(61.73% -0.0277 0.1148)
OKLCHoklch(61.73% 0.118 103.6)
XYZxyz(20.9479, 23.8357, 5.0104)
Luminance0.2384 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#928822 #222C92
analogous
#925022 #928822 #649222
triadic
#928822 #229288 #882292
tetradic
#928822 #229250 #222C92 #922264
square
#928822 #229250 #222C92 #922264
split-complementary
#928822 #226492 #502292
monochromatic
#2F2C0B #605A16 #928822 #C4B62E #D8CC57

Accessibility & contrast

On white

3.64
#928822 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.77
#928822 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #928822
5.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##928822#FFFFFF#000000##000000
##9288221.003.645.775.77
#FFFFFF3.641.0021.0021.00
#0000005.7721.001.001.00
##0000005.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#95830D
Deuteranopia (green-blind)
#98882A
Tritanopia (blue-blind)
#9D7E75
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #928822;
/* rgb */ color: rgb(146, 136, 34);
/* oklch */ color: oklch(61.7% 0.118 103.6);
Tailwind
colors: {
  custom: {
    50: '#b5aa66',
    500: '#928822',
    950: '#000000',
  },
}
SCSS
$custom: #928822;
$custom-light: #b5aa66;
$custom-dark: #000000;
JSON
{
  "hex": "#928822",
  "rgb": {
    "r": 146,
    "g": 136,
    "b": 34
  },
  "hsl": {
    "h": 54.643,
    "s": 62.222,
    "l": 35.294
  },
  "oklch": {
    "l": 0.61729,
    "c": 0.1181,
    "h": 103.6
  },
  "luminance": 0.23835
}

Semantic roles & 50–950 ramp

primary
#928822
secondary
#545DBC
accent
#51E543
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #928822

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

Preview Lab → · Contrast checker → · Palette generator →

#928822 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva