#918822#918822

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

Color values

HEX#918822
RGBrgb(145, 136, 34)
HSLhsl(55, 62%, 35%)
HSVhsv(55, 77%, 57%)
CMYKcmyk(0%, 6.2%, 76.6%, 43.1%)
CIE-LABlab(55.83, -8.45, 52.22)
CIE-LCHlch(55.83, 52.90, 99.19°)
OKLaboklab(61.63% -0.0289 0.1146)
OKLCHoklch(61.63% 0.118 104.2)
XYZxyz(20.7709, 23.7444, 5.0021)
Luminance0.2374 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#918822 #222B91
analogous
#915022 #918822 #639122
triadic
#918822 #229188 #882291
tetradic
#918822 #229150 #222B91 #912263
square
#918822 #229150 #222B91 #912263
split-complementary
#918822 #226391 #502291
monochromatic
#2E2B0B #5F5A16 #918822 #C3B62E #D7CD56

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##918822#FFFFFF#000000##000000
##9188221.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)
#95830D
Deuteranopia (green-blind)
#98882A
Tritanopia (blue-blind)
#9C7E75
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #918822;
/* rgb */ color: rgb(145, 136, 34);
/* oklch */ color: oklch(61.6% 0.118 104.2);
Tailwind
colors: {
  custom: {
    50: '#b5aa66',
    500: '#918822',
    950: '#000000',
  },
}
SCSS
$custom: #918822;
$custom-light: #b5aa66;
$custom-dark: #000000;
JSON
{
  "hex": "#918822",
  "rgb": {
    "r": 145,
    "g": 136,
    "b": 34
  },
  "hsl": {
    "h": 55.135,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.61634,
    "c": 0.11819,
    "h": 104.2
  },
  "luminance": 0.23744
}

Semantic roles & 50–950 ramp

primary
#918822
secondary
#535CBB
accent
#50E543
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #918822

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

Preview Lab → · Contrast checker → · Palette generator →

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