#918521#918521

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

Color values

HEX#918521
RGBrgb(145, 133, 33)
HSLhsl(54, 63%, 35%)
HSVhsv(54, 77%, 57%)
CMYKcmyk(0%, 8.3%, 77.2%, 43.1%)
CIE-LABlab(54.97, -6.86, 51.78)
CIE-LCHlch(54.97, 52.23, 97.54°)
OKLaboklab(60.95% -0.0245 0.1135)
OKLCHoklch(60.95% 0.116 102.2)
XYZxyz(20.3400, 22.9055, 4.7884)
Luminance0.2291 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#918521 #212D91
analogous
#914D21 #918521 #659121
triadic
#918521 #219185 #852191
tetradic
#918521 #21914D #212D91 #912165
square
#918521 #21914D #212D91 #912165
split-complementary
#918521 #216591 #4D2191
monochromatic
#2D2A0A #5F5716 #918521 #C3B32C #D8CA54

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##918521#FFFFFF#000000##000000
##9185211.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)
#92810C
Deuteranopia (green-blind)
#958628
Tritanopia (blue-blind)
#9C7B72
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #918521;
/* rgb */ color: rgb(145, 133, 33);
/* oklch */ color: oklch(61.0% 0.116 102.2);
Tailwind
colors: {
  custom: {
    50: '#b5a865',
    500: '#918521',
    950: '#000000',
  },
}
SCSS
$custom: #918521;
$custom-light: #b5a865;
$custom-dark: #000000;
JSON
{
  "hex": "#918521",
  "rgb": {
    "r": 145,
    "g": 133,
    "b": 33
  },
  "hsl": {
    "h": 53.571,
    "s": 62.921,
    "l": 34.902
  },
  "oklch": {
    "l": 0.60952,
    "c": 0.11608,
    "h": 102.2
  },
  "luminance": 0.22905
}

Semantic roles & 50–950 ramp

primary
#918521
secondary
#525DBC
accent
#53E642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #918521

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

Preview Lab → · Contrast checker → · Palette generator →

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