#90971B#90971B

#90971B is a light, vivid yellow. Relative luminance 0.281; OKLCH L 64.9% C 0.137 H 113.1°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#90971B
RGBrgb(144, 151, 27)
HSLhsl(63, 70%, 35%)
HSVhsv(63, 82%, 59%)
CMYKcmyk(4.6%, 0%, 82.1%, 40.8%)
CIE-LABlab(60.02, -17.14, 58.18)
CIE-LCHlch(60.02, 60.65, 106.41°)
OKLaboklab(64.95% -0.0537 0.126)
OKLCHoklch(64.95% 0.137 113.1)
XYZxyz(22.7668, 28.1422, 5.2694)
Luminance0.2814 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90971B #221B97
analogous
#97601B #90971B #52971B
triadic
#90971B #1B9097 #971B90
tetradic
#90971B #1B9760 #221B97 #971B52
square
#90971B #1B9760 #221B97 #971B52
split-complementary
#90971B #1B5297 #601B97
monochromatic
#2D2F08 #5E6312 #90971B #C2CB24 #D7DF4D

Accessibility & contrast

On white

3.17
#90971B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#90971B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #90971B
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90971B#FFFFFF#000000##000000
##90971B1.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A38F00
Deuteranopia (green-blind)
#A39227
Tritanopia (blue-blind)
#9A8D81
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #90971b;
/* rgb */ color: rgb(144, 151, 27);
/* oklch */ color: oklch(64.9% 0.137 113.1);
Tailwind
colors: {
  custom: {
    50: '#b4b564',
    500: '#90971b',
    950: '#000000',
  },
}
SCSS
$custom: #90971b;
$custom-light: #b4b564;
$custom-dark: #000000;
JSON
{
  "hex": "#90971b",
  "rgb": {
    "r": 144,
    "g": 151,
    "b": 27
  },
  "hsl": {
    "h": 63.387,
    "s": 69.663,
    "l": 34.902
  },
  "oklch": {
    "l": 0.64946,
    "c": 0.13699,
    "h": 113.1
  },
  "luminance": 0.28142
}

Semantic roles & 50–950 ramp

primary
#90971B
secondary
#534CC1
accent
#3BEC45
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121106
muted
#81807A

Preview Lab

Preview with #90971B

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

Preview Lab → · Contrast checker → · Palette generator →

#90971B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva