#928128#928128

#928128 is a mid, moderate yellow. Relative luminance 0.220; OKLCH L 60.2% C 0.108 H 98.1°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#928128
RGBrgb(146, 129, 40)
HSLhsl(50, 57%, 36%)
HSVhsv(50, 73%, 57%)
CMYKcmyk(0%, 11.6%, 72.6%, 42.7%)
CIE-LABlab(53.99, -3.85, 48.16)
CIE-LCHlch(53.99, 48.32, 94.57°)
OKLaboklab(60.21% -0.0153 0.1071)
OKLCHoklch(60.21% 0.108 98.1)
XYZxyz(20.0883, 21.9657, 5.1888)
Luminance0.2197 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#928128 #283992
analogous
#924C28 #928128 #6E9228
triadic
#928128 #289281 #812892
tetradic
#928128 #28924C #283992 #92286E
square
#928128 #28924C #283992 #92286E
split-complementary
#928128 #286E92 #4C2892
monochromatic
#322C0E #62571B #928128 #C2AB35 #D4C161

Accessibility & contrast

On white

3.89
#928128 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#928128 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #928128
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##928128#FFFFFF#000000##000000
##9281281.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E1B
Deuteranopia (green-blind)
#93842D
Tritanopia (blue-blind)
#9E776F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #928128;
/* rgb */ color: rgb(146, 129, 40);
/* oklch */ color: oklch(60.2% 0.108 98.1);
Tailwind
colors: {
  custom: {
    50: '#b5a568',
    500: '#928128',
    950: '#000000',
  },
}
SCSS
$custom: #928128;
$custom-light: #b5a568;
$custom-dark: #000000;
JSON
{
  "hex": "#928128",
  "rgb": {
    "r": 146,
    "g": 129,
    "b": 40
  },
  "hsl": {
    "h": 50.377,
    "s": 56.989,
    "l": 36.471
  },
  "oklch": {
    "l": 0.60208,
    "c": 0.10823,
    "h": 98.1
  },
  "luminance": 0.21965
}

Semantic roles & 50–950 ramp

primary
#928128
secondary
#5D6BB9
accent
#60E048
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #928128

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

Preview Lab → · Contrast checker → · Palette generator →

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