#908020#908020

#908020 is a mid, moderate yellow. Relative luminance 0.215; OKLCH L 59.7% C 0.112 H 99.3°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#908020
RGBrgb(144, 128, 32)
HSLhsl(51, 64%, 35%)
HSVhsv(51, 78%, 56%)
CMYKcmyk(0%, 11.1%, 77.8%, 43.5%)
CIE-LABlab(53.46, -4.60, 50.69)
CIE-LCHlch(53.46, 50.90, 95.19°)
OKLaboklab(59.73% -0.0182 0.111)
OKLCHoklch(59.73% 0.112 99.3)
XYZxyz(19.4824, 21.4729, 4.4847)
Luminance0.2147 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908020 #203090
analogous
#904820 #908020 #689020
triadic
#908020 #209080 #802090
tetradic
#908020 #209048 #203090 #902068
square
#908020 #209048 #203090 #902068
split-complementary
#908020 #206890 #482090
monochromatic
#2C270A #5E5315 #908020 #C2AD2B #D9C552

Accessibility & contrast

On white

3.97
#908020 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#908020 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #908020
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908020#FFFFFF#000000##000000
##9080201.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C0C
Deuteranopia (green-blind)
#918227
Tritanopia (blue-blind)
#9C766E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #908020;
/* rgb */ color: rgb(144, 128, 32);
/* oklch */ color: oklch(59.7% 0.112 99.3);
Tailwind
colors: {
  custom: {
    50: '#b4a464',
    500: '#908020',
    950: '#000000',
  },
}
SCSS
$custom: #908020;
$custom-light: #b4a464;
$custom-dark: #000000;
JSON
{
  "hex": "#908020",
  "rgb": {
    "r": 144,
    "g": 128,
    "b": 32
  },
  "hsl": {
    "h": 51.429,
    "s": 63.636,
    "l": 34.51
  },
  "oklch": {
    "l": 0.59727,
    "c": 0.11248,
    "h": 99.3
  },
  "luminance": 0.21472
}

Semantic roles & 50–950 ramp

primary
#908020
secondary
#505FBC
accent
#59E741
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #908020

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

Preview Lab → · Contrast checker → · Palette generator →

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