#908822#908822

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

Color values

HEX#908822
RGBrgb(144, 136, 34)
HSLhsl(56, 62%, 35%)
HSVhsv(56, 76%, 56%)
CMYKcmyk(0%, 5.6%, 76.4%, 43.5%)
CIE-LABlab(55.74, -8.90, 52.10)
CIE-LCHlch(55.74, 52.85, 99.70°)
OKLaboklab(61.54% -0.0301 0.1144)
OKLCHoklch(61.54% 0.118 104.8)
XYZxyz(20.5954, 23.6539, 4.9939)
Luminance0.2365 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908822 #222A90
analogous
#905122 #908822 #619022
triadic
#908822 #229088 #882290
tetradic
#908822 #229051 #222A90 #902261
square
#908822 #229051 #222A90 #902261
split-complementary
#908822 #226190 #512290
monochromatic
#2D2A0B #5E5916 #908822 #C2B72E #D7CE55

Accessibility & contrast

On white

3.66
#908822 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.73
#908822 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #908822
5.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908822#FFFFFF#000000##000000
##9088221.003.665.735.73
#FFFFFF3.661.0021.0021.00
#0000005.7321.001.001.00
##0000005.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#95830D
Deuteranopia (green-blind)
#97882A
Tritanopia (blue-blind)
#9B7E75
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #908822;
/* rgb */ color: rgb(144, 136, 34);
/* oklch */ color: oklch(61.5% 0.118 104.8);
Tailwind
colors: {
  custom: {
    50: '#b4aa66',
    500: '#908822',
    950: '#000000',
  },
}
SCSS
$custom: #908822;
$custom-light: #b4aa66;
$custom-dark: #000000;
JSON
{
  "hex": "#908822",
  "rgb": {
    "r": 144,
    "g": 136,
    "b": 34
  },
  "hsl": {
    "h": 55.636,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.6154,
    "c": 0.11829,
    "h": 104.8
  },
  "luminance": 0.23653
}

Semantic roles & 50–950 ramp

primary
#908822
secondary
#535BBB
accent
#4FE543
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #908822

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

Preview Lab → · Contrast checker → · Palette generator →

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