#918721#918721

#918721 is a mid, moderate yellow. Relative luminance 0.235; OKLCH L 61.4% C 0.118 H 103.5°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#918721
RGBrgb(145, 135, 33)
HSLhsl(55, 63%, 35%)
HSVhsv(55, 77%, 57%)
CMYKcmyk(0%, 6.9%, 77.2%, 43.1%)
CIE-LABlab(55.54, -7.95, 52.30)
CIE-LCHlch(55.54, 52.90, 98.64°)
OKLaboklab(61.4% -0.0276 0.1146)
OKLCHoklch(61.4% 0.118 103.5)
XYZxyz(20.6165, 23.4584, 4.8805)
Luminance0.2346 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#918721 #212B91
analogous
#914F21 #918721 #639121
triadic
#918721 #219187 #872191
tetradic
#918721 #21914F #212B91 #912163
square
#918721 #21914F #212B91 #912163
split-complementary
#918721 #216391 #4F2191
monochromatic
#2D2A0A #5F5916 #918721 #C3B52C #D8CC54

Accessibility & contrast

On white

3.69
#918721 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#918721 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #918721
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##918721#FFFFFF#000000##000000
##9187211.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#94820B
Deuteranopia (green-blind)
#978729
Tritanopia (blue-blind)
#9C7D74
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #918721;
/* rgb */ color: rgb(145, 135, 33);
/* oklch */ color: oklch(61.4% 0.118 103.5);
Tailwind
colors: {
  custom: {
    50: '#b5a965',
    500: '#918721',
    950: '#000000',
  },
}
SCSS
$custom: #918721;
$custom-light: #b5a965;
$custom-dark: #000000;
JSON
{
  "hex": "#918721",
  "rgb": {
    "r": 145,
    "g": 135,
    "b": 33
  },
  "hsl": {
    "h": 54.643,
    "s": 62.921,
    "l": 34.902
  },
  "oklch": {
    "l": 0.61402,
    "c": 0.11786,
    "h": 103.5
  },
  "luminance": 0.23457
}

Semantic roles & 50–950 ramp

primary
#918721
secondary
#525BBC
accent
#50E642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #918721

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

Preview Lab → · Contrast checker → · Palette generator →

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