#918220#918220

#918220 is a mid, moderate yellow. Relative luminance 0.221; OKLCH L 60.3% C 0.114 H 100.1°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#918220
RGBrgb(145, 130, 32)
HSLhsl(52, 64%, 35%)
HSVhsv(52, 78%, 57%)
CMYKcmyk(0%, 10.3%, 77.9%, 43.1%)
CIE-LABlab(54.12, -5.25, 51.34)
CIE-LCHlch(54.12, 51.61, 95.84°)
OKLaboklab(60.27% -0.0201 0.1123)
OKLCHoklch(60.27% 0.114 100.1)
XYZxyz(19.9214, 22.0903, 4.5807)
Luminance0.2209 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#918220 #202F91
analogous
#914920 #918220 #689120
triadic
#918220 #209182 #822091
tetradic
#918220 #209149 #202F91 #912068
square
#918220 #209149 #202F91 #912068
split-complementary
#918220 #206891 #492091
monochromatic
#2D280A #5F5515 #918220 #C3AF2B #D9C752

Accessibility & contrast

On white

3.88
#918220 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#918220 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #918220
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##918220#FFFFFF#000000##000000
##9182201.003.885.425.42
#FFFFFF3.881.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E0B
Deuteranopia (green-blind)
#938427
Tritanopia (blue-blind)
#9D786F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #918220;
/* rgb */ color: rgb(145, 130, 32);
/* oklch */ color: oklch(60.3% 0.114 100.1);
Tailwind
colors: {
  custom: {
    50: '#b5a664',
    500: '#918220',
    950: '#000000',
  },
}
SCSS
$custom: #918220;
$custom-light: #b5a664;
$custom-dark: #000000;
JSON
{
  "hex": "#918220",
  "rgb": {
    "r": 145,
    "g": 130,
    "b": 32
  },
  "hsl": {
    "h": 52.035,
    "s": 63.842,
    "l": 34.706
  },
  "oklch": {
    "l": 0.60273,
    "c": 0.11411,
    "h": 100.1
  },
  "luminance": 0.22089
}

Semantic roles & 50–950 ramp

primary
#918220
secondary
#515FBC
accent
#57E741
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #918220

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

Preview Lab → · Contrast checker → · Palette generator →

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