#908522#908522

#908522 is a mid, moderate yellow. Relative luminance 0.228; OKLCH L 60.9% C 0.116 H 102.8°. Best body text is #000000 at 5.56:1 contrast (WCAG AA passes).

Color values

HEX#908522
RGBrgb(144, 133, 34)
HSLhsl(54, 62%, 35%)
HSVhsv(54, 76%, 56%)
CMYKcmyk(0%, 7.6%, 76.4%, 43.5%)
CIE-LABlab(54.89, -7.27, 51.30)
CIE-LCHlch(54.89, 51.81, 98.07°)
OKLaboklab(60.86% -0.0255 0.1127)
OKLCHoklch(60.86% 0.116 102.8)
XYZxyz(20.1788, 22.8207, 4.8550)
Luminance0.2282 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908522 #222D90
analogous
#904E22 #908522 #649022
triadic
#908522 #229085 #852290
tetradic
#908522 #22904E #222D90 #902264
square
#908522 #22904E #222D90 #902264
split-complementary
#908522 #226490 #4E2290
monochromatic
#2D2A0B #5E5716 #908522 #C2B32E #D7CA55

Accessibility & contrast

On white

3.77
#908522 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.56
#908522 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #908522
5.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908522#FFFFFF#000000##000000
##9085221.003.775.565.56
#FFFFFF3.771.0021.0021.00
#0000005.5621.001.001.00
##0000005.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#92810E
Deuteranopia (green-blind)
#958629
Tritanopia (blue-blind)
#9B7B72
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #908522;
/* rgb */ color: rgb(144, 133, 34);
/* oklch */ color: oklch(60.9% 0.116 102.8);
Tailwind
colors: {
  custom: {
    50: '#b4a865',
    500: '#908522',
    950: '#000000',
  },
}
SCSS
$custom: #908522;
$custom-light: #b4a865;
$custom-dark: #000000;
JSON
{
  "hex": "#908522",
  "rgb": {
    "r": 144,
    "g": 133,
    "b": 34
  },
  "hsl": {
    "h": 54,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.60862,
    "c": 0.11555,
    "h": 102.8
  },
  "luminance": 0.2282
}

Semantic roles & 50–950 ramp

primary
#908522
secondary
#535DBB
accent
#53E543
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #908522

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

Preview Lab → · Contrast checker → · Palette generator →

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