#908B22#908B22

#908B22 is a light, vivid yellow. Relative luminance 0.245; OKLCH L 62.2% C 0.121 H 106.6°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#908B22
RGBrgb(144, 139, 34)
HSLhsl(57, 62%, 35%)
HSVhsv(57, 76%, 56%)
CMYKcmyk(0%, 3.5%, 76.4%, 43.5%)
CIE-LABlab(56.60, -10.53, 52.90)
CIE-LCHlch(56.60, 53.94, 101.25°)
OKLaboklab(62.22% -0.0347 0.1161)
OKLCHoklch(62.22% 0.121 106.6)
XYZxyz(21.0238, 24.5108, 5.1367)
Luminance0.2451 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908B22 #222790
analogous
#905422 #908B22 #5E9022
triadic
#908B22 #22908B #8B2290
tetradic
#908B22 #229054 #222790 #90225E
square
#908B22 #229054 #222790 #90225E
split-complementary
#908B22 #225E90 #542290
monochromatic
#2D2B0B #5E5B16 #908B22 #C2BB2E #D7D155

Accessibility & contrast

On white

3.56
#908B22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#908B22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #908B22
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908B22#FFFFFF#000000##000000
##908B221.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#97860B
Deuteranopia (green-blind)
#9A8A2A
Tritanopia (blue-blind)
#9B8177
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #908b22;
/* rgb */ color: rgb(144, 139, 34);
/* oklch */ color: oklch(62.2% 0.121 106.6);
Tailwind
colors: {
  custom: {
    50: '#b4ac66',
    500: '#908b22',
    950: '#000000',
  },
}
SCSS
$custom: #908b22;
$custom-light: #b4ac66;
$custom-dark: #000000;
JSON
{
  "hex": "#908b22",
  "rgb": {
    "r": 144,
    "g": 139,
    "b": 34
  },
  "hsl": {
    "h": 57.273,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.62222,
    "c": 0.12116,
    "h": 106.6
  },
  "luminance": 0.2451
}

Semantic roles & 50–950 ramp

primary
#908B22
secondary
#5358BB
accent
#4AE543
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #908B22

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

Preview Lab → · Contrast checker → · Palette generator →

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