#908E22#908E22

#908E22 is a light, vivid yellow. Relative luminance 0.254; OKLCH L 62.9% C 0.124 H 108.4°. Best body text is #000000 at 6.08:1 contrast (WCAG AA passes).

Color values

HEX#908E22
RGBrgb(144, 142, 34)
HSLhsl(59, 62%, 35%)
HSVhsv(59, 76%, 56%)
CMYKcmyk(0%, 1.4%, 76.4%, 43.5%)
CIE-LABlab(57.45, -12.13, 53.70)
CIE-LCHlch(57.45, 55.05, 102.73°)
OKLaboklab(62.91% -0.0392 0.1178)
OKLCHoklch(62.91% 0.124 108.4)
XYZxyz(21.4642, 25.3915, 5.2835)
Luminance0.2539 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908E22 #222490
analogous
#905722 #908E22 #5B9022
triadic
#908E22 #22908E #8E2290
tetradic
#908E22 #229057 #222490 #90225B
square
#908E22 #229057 #222490 #90225B
split-complementary
#908E22 #225B90 #572290
monochromatic
#2D2C0B #5E5D16 #908E22 #C2BF2E #D7D555

Accessibility & contrast

On white

3.45
#908E22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.08
#908E22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #908E22
6.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908E22#FFFFFF#000000##000000
##908E221.003.456.086.08
#FFFFFF3.451.0021.0021.00
#0000006.0821.001.001.00
##0000006.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8809
Deuteranopia (green-blind)
#9C8C2B
Tritanopia (blue-blind)
#9B847A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #908e22;
/* rgb */ color: rgb(144, 142, 34);
/* oklch */ color: oklch(62.9% 0.124 108.4);
Tailwind
colors: {
  custom: {
    50: '#b4ae66',
    500: '#908e22',
    950: '#000000',
  },
}
SCSS
$custom: #908e22;
$custom-light: #b4ae66;
$custom-dark: #000000;
JSON
{
  "hex": "#908e22",
  "rgb": {
    "r": 144,
    "g": 142,
    "b": 34
  },
  "hsl": {
    "h": 58.909,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.62907,
    "c": 0.12414,
    "h": 108.4
  },
  "luminance": 0.25391
}

Semantic roles & 50–950 ramp

primary
#908E22
secondary
#5355BB
accent
#46E543
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #908E22

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

Preview Lab → · Contrast checker → · Palette generator →

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