#918821#918821

#918821 is a mid, moderate yellow. Relative luminance 0.237; OKLCH L 61.6% C 0.119 H 104.2°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#918821
RGBrgb(145, 136, 33)
HSLhsl(55, 63%, 35%)
HSVhsv(55, 77%, 57%)
CMYKcmyk(0%, 6.2%, 77.2%, 43.1%)
CIE-LABlab(55.83, -8.49, 52.57)
CIE-LCHlch(55.83, 53.25, 99.18°)
OKLaboklab(61.63% -0.0291 0.1151)
OKLCHoklch(61.63% 0.119 104.2)
XYZxyz(20.7566, 23.7387, 4.9272)
Luminance0.2374 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#918821 #212A91
analogous
#915021 #918821 #629121
triadic
#918821 #219188 #882191
tetradic
#918821 #219150 #212A91 #912162
square
#918821 #219150 #212A91 #912162
split-complementary
#918821 #216291 #502191
monochromatic
#2D2A0A #5F5916 #918821 #C3B72C #D8CE54

Accessibility & contrast

On white

3.65
#918821 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#918821 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #918821
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##918821#FFFFFF#000000##000000
##9188211.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#95830A
Deuteranopia (green-blind)
#988829
Tritanopia (blue-blind)
#9C7E74
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #918821;
/* rgb */ color: rgb(145, 136, 33);
/* oklch */ color: oklch(61.6% 0.119 104.2);
Tailwind
colors: {
  custom: {
    50: '#b5aa65',
    500: '#918821',
    950: '#000000',
  },
}
SCSS
$custom: #918821;
$custom-light: #b5aa65;
$custom-dark: #000000;
JSON
{
  "hex": "#918821",
  "rgb": {
    "r": 145,
    "g": 136,
    "b": 33
  },
  "hsl": {
    "h": 55.179,
    "s": 62.921,
    "l": 34.902
  },
  "oklch": {
    "l": 0.61628,
    "c": 0.11877,
    "h": 104.2
  },
  "luminance": 0.23738
}

Semantic roles & 50–950 ramp

primary
#918821
secondary
#525BBC
accent
#4FE642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #918821

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

Preview Lab → · Contrast checker → · Palette generator →

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