#908A22#908A22

#908A22 is a mid, vivid yellow. Relative luminance 0.242; OKLCH L 62.0% C 0.120 H 106.0°. Best body text is #000000 at 5.84:1 contrast (WCAG AA passes).

Color values

HEX#908A22
RGBrgb(144, 138, 34)
HSLhsl(57, 62%, 35%)
HSVhsv(57, 76%, 56%)
CMYKcmyk(0%, 4.2%, 76.4%, 43.5%)
CIE-LABlab(56.31, -9.99, 52.63)
CIE-LCHlch(56.31, 53.57, 100.74°)
OKLaboklab(61.99% -0.0332 0.1155)
OKLCHoklch(61.99% 0.12 106)
XYZxyz(20.8797, 24.2225, 5.0886)
Luminance0.2422 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908A22 #222890
analogous
#905322 #908A22 #5F9022
triadic
#908A22 #22908A #8A2290
tetradic
#908A22 #229053 #222890 #90225F
square
#908A22 #229053 #222890 #90225F
split-complementary
#908A22 #225F90 #532290
monochromatic
#2D2B0B #5E5B16 #908A22 #C2B92E #D7D055

Accessibility & contrast

On white

3.59
#908A22 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.84
#908A22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #908A22
5.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908A22#FFFFFF#000000##000000
##908A221.003.595.845.84
#FFFFFF3.591.0021.0021.00
#0000005.8421.001.001.00
##0000005.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#96850C
Deuteranopia (green-blind)
#99892A
Tritanopia (blue-blind)
#9B8076
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #908a22;
/* rgb */ color: rgb(144, 138, 34);
/* oklch */ color: oklch(62.0% 0.120 106.0);
Tailwind
colors: {
  custom: {
    50: '#b4ab66',
    500: '#908a22',
    950: '#000000',
  },
}
SCSS
$custom: #908a22;
$custom-light: #b4ab66;
$custom-dark: #000000;
JSON
{
  "hex": "#908a22",
  "rgb": {
    "r": 144,
    "g": 138,
    "b": 34
  },
  "hsl": {
    "h": 56.727,
    "s": 61.798,
    "l": 34.902
  },
  "oklch": {
    "l": 0.61994,
    "c": 0.12019,
    "h": 106
  },
  "luminance": 0.24222
}

Semantic roles & 50–950 ramp

primary
#908A22
secondary
#5359BB
accent
#4CE543
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#111006
muted
#807F7A

Preview Lab

Preview with #908A22

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

Preview Lab → · Contrast checker → · Palette generator →

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