#917822#917822

#917822 is a mid, moderate yellow. Relative luminance 0.196; OKLCH L 58.1% C 0.106 H 92.0°. Best body text is #000000 at 4.91:1 contrast (WCAG AA passes).

Color values

HEX#917822
RGBrgb(145, 120, 34)
HSLhsl(46, 62%, 35%)
HSVhsv(46, 77%, 57%)
CMYKcmyk(0%, 17.2%, 76.6%, 43.1%)
CIE-LABlab(51.35, 0.43, 47.97)
CIE-LCHlch(51.35, 47.98, 89.48°)
OKLaboklab(58.08% -0.0037 0.1056)
OKLCHoklch(58.08% 0.106 92)
XYZxyz(18.6833, 19.5693, 4.3062)
Luminance0.1957 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#917822 #223B91
analogous
#914022 #917822 #739122
triadic
#917822 #229178 #782291
tetradic
#917822 #229140 #223B91 #912273
square
#917822 #229140 #223B91 #912273
split-complementary
#917822 #227391 #402291
monochromatic
#2E260B #5F4F16 #917822 #C3A12E #D7BA56

Accessibility & contrast

On white

4.27
#917822 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.91
#917822 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #917822
4.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##917822#FFFFFF#000000##000000
##9178221.004.274.914.91
#FFFFFF4.271.0021.0021.00
#0000004.9121.001.001.00
##0000004.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#867613
Deuteranopia (green-blind)
#8C7D27
Tritanopia (blue-blind)
#9D6E67
Achromatopsia (no color)
#7A7A7A

Design tokens & code

CSS
--color: #917822;
/* rgb */ color: rgb(145, 120, 34);
/* oklch */ color: oklch(58.1% 0.106 92.0);
Tailwind
colors: {
  custom: {
    50: '#b59e64',
    500: '#917822',
    950: '#000000',
  },
}
SCSS
$custom: #917822;
$custom-light: #b59e64;
$custom-dark: #000000;
JSON
{
  "hex": "#917822",
  "rgb": {
    "r": 145,
    "g": 120,
    "b": 34
  },
  "hsl": {
    "h": 46.486,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.5808,
    "c": 0.10565,
    "h": 92
  },
  "luminance": 0.19568
}

Semantic roles & 50–950 ramp

primary
#917822
secondary
#536BBB
accent
#67E543
background
#FBF9F6
surface
#F6F2EB
border
#D0CCC6
text
#120E06
muted
#817E7A

Preview Lab

Preview with #917822

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

Preview Lab → · Contrast checker → · Palette generator →

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