#908222#908222

#908222 is a mid, moderate yellow. Relative luminance 0.220; OKLCH L 60.2% C 0.113 H 100.7°. Best body text is #000000 at 5.40:1 contrast (WCAG AA passes).

Color values

HEX#908222
RGBrgb(144, 130, 34)
HSLhsl(52, 62%, 35%)
HSVhsv(52, 76%, 56%)
CMYKcmyk(0%, 9.7%, 76.4%, 43.5%)
CIE-LABlab(54.04, -5.62, 50.50)
CIE-LCHlch(54.04, 50.81, 96.35°)
OKLaboklab(60.19% -0.0209 0.111)
OKLCHoklch(60.19% 0.113 100.7)
XYZxyz(19.7739, 22.0110, 4.7200)
Luminance0.2201 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908222 #223090
analogous
#904B22 #908222 #679022
triadic
#908222 #229082 #822290
tetradic
#908222 #22904B #223090 #902267
square
#908222 #22904B #223090 #902267
split-complementary
#908222 #226790 #4B2290
monochromatic
#2D290B #5E5516 #908222 #C2AF2E #D7C655

Accessibility & contrast

On white

3.89
#908222 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.40
#908222 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #908222
5.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908222#FFFFFF#000000##000000
##9082221.003.895.405.40
#FFFFFF3.891.0021.0021.00
#0000005.4021.001.001.00
##0000005.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E10
Deuteranopia (green-blind)
#938429
Tritanopia (blue-blind)
#9C7870
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #908222;
/* rgb */ color: rgb(144, 130, 34);
/* oklch */ color: oklch(60.2% 0.113 100.7);
Tailwind
colors: {
  custom: {
    50: '#b4a665',
    500: '#908222',
    950: '#000000',
  },
}
SCSS
$custom: #908222;
$custom-light: #b4a665;
$custom-dark: #000000;
JSON
{
  "hex": "#908222",
  "rgb": {
    "r": 144,
    "g": 130,
    "b": 34
  },
  "hsl": {
    "h": 52.364,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.60187,
    "c": 0.11294,
    "h": 100.7
  },
  "luminance": 0.2201
}

Semantic roles & 50–950 ramp

primary
#908222
secondary
#5360BB
accent
#58E543
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #908222

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

Preview Lab → · Contrast checker → · Palette generator →

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