#908922#908922

#908922 is a mid, moderate yellow. Relative luminance 0.239; OKLCH L 61.8% C 0.119 H 105.4°. Best body text is #000000 at 5.79:1 contrast (WCAG AA passes).

Color values

HEX#908922
RGBrgb(144, 137, 34)
HSLhsl(56, 62%, 35%)
HSVhsv(56, 76%, 56%)
CMYKcmyk(0%, 4.9%, 76.4%, 43.5%)
CIE-LABlab(56.02, -9.45, 52.37)
CIE-LCHlch(56.02, 53.21, 100.23°)
OKLaboklab(61.77% -0.0317 0.115)
OKLCHoklch(61.77% 0.119 105.4)
XYZxyz(20.7369, 23.9369, 5.0410)
Luminance0.2394 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908922 #222990
analogous
#905222 #908922 #609022
triadic
#908922 #229089 #892290
tetradic
#908922 #229052 #222990 #902260
square
#908922 #229052 #222990 #902260
split-complementary
#908922 #226090 #522290
monochromatic
#2D2B0B #5E5A16 #908922 #C2B82E #D7CF55

Accessibility & contrast

On white

3.63
#908922 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.79
#908922 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #908922
5.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908922#FFFFFF#000000##000000
##9089221.003.635.795.79
#FFFFFF3.631.0021.0021.00
#0000005.7921.001.001.00
##0000005.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#95840C
Deuteranopia (green-blind)
#98882A
Tritanopia (blue-blind)
#9B7F75
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #908922;
/* rgb */ color: rgb(144, 137, 34);
/* oklch */ color: oklch(61.8% 0.119 105.4);
Tailwind
colors: {
  custom: {
    50: '#b4ab66',
    500: '#908922',
    950: '#000000',
  },
}
SCSS
$custom: #908922;
$custom-light: #b4ab66;
$custom-dark: #000000;
JSON
{
  "hex": "#908922",
  "rgb": {
    "r": 144,
    "g": 137,
    "b": 34
  },
  "hsl": {
    "h": 56.182,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.61767,
    "c": 0.11923,
    "h": 105.4
  },
  "luminance": 0.23936
}

Semantic roles & 50–950 ramp

primary
#908922
secondary
#535ABB
accent
#4DE543
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #908922

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

Preview Lab → · Contrast checker → · Palette generator →

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