#928828#928828

#928828 is a mid, moderate yellow. Relative luminance 0.239; OKLCH L 61.8% C 0.114 H 103.3°. Best body text is #000000 at 5.77:1 contrast (WCAG AA passes).

Color values

HEX#928828
RGBrgb(146, 136, 40)
HSLhsl(54, 57%, 36%)
HSVhsv(54, 73%, 57%)
CMYKcmyk(0%, 6.8%, 72.6%, 42.7%)
CIE-LABlab(55.96, -7.70, 50.11)
CIE-LCHlch(55.96, 50.70, 98.74°)
OKLaboklab(61.77% -0.0262 0.1113)
OKLCHoklch(61.77% 0.114 103.3)
XYZxyz(21.0421, 23.8734, 5.5067)
Luminance0.2387 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#928828 #283292
analogous
#925328 #928828 #679228
triadic
#928828 #289288 #882892
tetradic
#928828 #289253 #283292 #922867
square
#928828 #289253 #283292 #922867
split-complementary
#928828 #286792 #532892
monochromatic
#322F0E #625B1B #928828 #C2B535 #D4C961

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##928828#FFFFFF#000000##000000
##9288281.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)
#958318
Deuteranopia (green-blind)
#98882E
Tritanopia (blue-blind)
#9D7E75
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #928828;
/* rgb */ color: rgb(146, 136, 40);
/* oklch */ color: oklch(61.8% 0.114 103.3);
Tailwind
colors: {
  custom: {
    50: '#b5aa69',
    500: '#928828',
    950: '#000000',
  },
}
SCSS
$custom: #928828;
$custom-light: #b5aa69;
$custom-dark: #000000;
JSON
{
  "hex": "#928828",
  "rgb": {
    "r": 146,
    "g": 136,
    "b": 40
  },
  "hsl": {
    "h": 54.34,
    "s": 56.989,
    "l": 36.471
  },
  "oklch": {
    "l": 0.61772,
    "c": 0.11431,
    "h": 103.3
  },
  "luminance": 0.23873
}

Semantic roles & 50–950 ramp

primary
#928828
secondary
#5D65B9
accent
#56E048
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #928828

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

Preview Lab → · Contrast checker → · Palette generator →

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