#908D22#908D22

#908D22 is a light, vivid yellow. Relative luminance 0.251; OKLCH L 62.7% C 0.123 H 107.8°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#908D22
RGBrgb(144, 141, 34)
HSLhsl(58, 62%, 35%)
HSVhsv(58, 76%, 56%)
CMYKcmyk(0%, 2.1%, 76.4%, 43.5%)
CIE-LABlab(57.17, -11.60, 53.43)
CIE-LCHlch(57.17, 54.68, 102.25°)
OKLaboklab(62.68% -0.0377 0.1172)
OKLCHoklch(62.68% 0.123 107.8)
XYZxyz(21.3160, 25.0953, 5.2341)
Luminance0.2510 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908D22 #222590
analogous
#905622 #908D22 #5C9022
triadic
#908D22 #22908D #8D2290
tetradic
#908D22 #229056 #222590 #90225C
square
#908D22 #229056 #222590 #90225C
split-complementary
#908D22 #225C90 #562290
monochromatic
#2D2C0B #5E5D16 #908D22 #C2BD2E #D7D355

Accessibility & contrast

On white

3.49
#908D22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#908D22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #908D22
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908D22#FFFFFF#000000##000000
##908D221.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#99870A
Deuteranopia (green-blind)
#9B8B2A
Tritanopia (blue-blind)
#9B8379
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #908d22;
/* rgb */ color: rgb(144, 141, 34);
/* oklch */ color: oklch(62.7% 0.123 107.8);
Tailwind
colors: {
  custom: {
    50: '#b4ae66',
    500: '#908d22',
    950: '#000000',
  },
}
SCSS
$custom: #908d22;
$custom-light: #b4ae66;
$custom-dark: #000000;
JSON
{
  "hex": "#908d22",
  "rgb": {
    "r": 144,
    "g": 141,
    "b": 34
  },
  "hsl": {
    "h": 58.364,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.62678,
    "c": 0.12313,
    "h": 107.8
  },
  "luminance": 0.25095
}

Semantic roles & 50–950 ramp

primary
#908D22
secondary
#5356BB
accent
#47E543
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #908D22

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

Preview Lab → · Contrast checker → · Palette generator →

#908D22 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva