#918520#918520

#918520 is a mid, moderate yellow. Relative luminance 0.229; OKLCH L 60.9% C 0.117 H 102.2°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#918520
RGBrgb(145, 133, 32)
HSLhsl(54, 64%, 35%)
HSVhsv(54, 78%, 57%)
CMYKcmyk(0%, 8.3%, 77.9%, 43.1%)
CIE-LABlab(54.97, -6.90, 52.12)
CIE-LCHlch(54.97, 52.58, 97.54°)
OKLaboklab(60.95% -0.0247 0.114)
OKLCHoklch(60.95% 0.117 102.2)
XYZxyz(20.3262, 22.9000, 4.7157)
Luminance0.2290 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#918520 #202C91
analogous
#914C20 #918520 #659120
triadic
#918520 #209185 #852091
tetradic
#918520 #20914C #202C91 #912065
square
#918520 #20914C #202C91 #912065
split-complementary
#918520 #206591 #4C2091
monochromatic
#2D290A #5F5715 #918520 #C3B32B #D9CB52

Accessibility & contrast

On white

3.76
#918520 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#918520 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #918520
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##918520#FFFFFF#000000##000000
##9185201.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#928109
Deuteranopia (green-blind)
#958627
Tritanopia (blue-blind)
#9D7B72
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #918520;
/* rgb */ color: rgb(145, 133, 32);
/* oklch */ color: oklch(60.9% 0.117 102.2);
Tailwind
colors: {
  custom: {
    50: '#b5a864',
    500: '#918520',
    950: '#000000',
  },
}
SCSS
$custom: #918520;
$custom-light: #b5a864;
$custom-dark: #000000;
JSON
{
  "hex": "#918520",
  "rgb": {
    "r": 145,
    "g": 133,
    "b": 32
  },
  "hsl": {
    "h": 53.628,
    "s": 63.842,
    "l": 34.706
  },
  "oklch": {
    "l": 0.60945,
    "c": 0.11665,
    "h": 102.2
  },
  "luminance": 0.22899
}

Semantic roles & 50–950 ramp

primary
#918520
secondary
#515CBC
accent
#53E741
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #918520

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

Preview Lab → · Contrast checker → · Palette generator →

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