#908C22#908C22

#908C22 is a light, vivid yellow. Relative luminance 0.248; OKLCH L 62.5% C 0.122 H 107.2°. Best body text is #000000 at 5.96:1 contrast (WCAG AA passes).

Color values

HEX#908C22
RGBrgb(144, 140, 34)
HSLhsl(58, 62%, 35%)
HSVhsv(58, 76%, 56%)
CMYKcmyk(0%, 2.8%, 76.4%, 43.5%)
CIE-LABlab(56.88, -11.06, 53.16)
CIE-LCHlch(56.88, 54.30, 101.76°)
OKLaboklab(62.45% -0.0362 0.1167)
OKLCHoklch(62.45% 0.122 107.2)
XYZxyz(21.1693, 24.8017, 5.1852)
Luminance0.2480 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908C22 #222690
analogous
#905522 #908C22 #5D9022
triadic
#908C22 #22908C #8C2290
tetradic
#908C22 #229055 #222690 #90225D
square
#908C22 #229055 #222690 #90225D
split-complementary
#908C22 #225D90 #552290
monochromatic
#2D2C0B #5E5C16 #908C22 #C2BC2E #D7D255

Accessibility & contrast

On white

3.52
#908C22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.96
#908C22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #908C22
5.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908C22#FFFFFF#000000##000000
##908C221.003.525.965.96
#FFFFFF3.521.0021.0021.00
#0000005.9621.001.001.00
##0000005.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#98860A
Deuteranopia (green-blind)
#9A8A2A
Tritanopia (blue-blind)
#9B8278
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #908c22;
/* rgb */ color: rgb(144, 140, 34);
/* oklch */ color: oklch(62.5% 0.122 107.2);
Tailwind
colors: {
  custom: {
    50: '#b4ad66',
    500: '#908c22',
    950: '#000000',
  },
}
SCSS
$custom: #908c22;
$custom-light: #b4ad66;
$custom-dark: #000000;
JSON
{
  "hex": "#908c22",
  "rgb": {
    "r": 144,
    "g": 140,
    "b": 34
  },
  "hsl": {
    "h": 57.818,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.6245,
    "c": 0.12213,
    "h": 107.2
  },
  "luminance": 0.24801
}

Semantic roles & 50–950 ramp

primary
#908C22
secondary
#5357BB
accent
#49E543
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #908C22

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

Preview Lab → · Contrast checker → · Palette generator →

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