#90791B#90791B

#90791B is a mid, moderate yellow. Relative luminance 0.197; OKLCH L 58.1% C 0.110 H 94.3°. Best body text is #000000 at 4.94:1 contrast (WCAG AA passes).

Color values

HEX#90791B
RGBrgb(144, 121, 27)
HSLhsl(48, 68%, 34%)
HSVhsv(48, 81%, 56%)
CMYKcmyk(0%, 16%, 81.3%, 43.5%)
CIE-LABlab(51.48, -0.89, 50.64)
CIE-LCHlch(51.48, 50.65, 91.01°)
OKLaboklab(58.15% -0.0082 0.1098)
OKLCHoklch(58.15% 0.11 94.3)
XYZxyz(18.5378, 19.6843, 3.8597)
Luminance0.1968 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#90791B #1B3290
analogous
#903E1B #90791B #6C901B
triadic
#90791B #1B9079 #791B90
tetradic
#90791B #1B903E #1B3290 #901B6C
square
#90791B #1B903E #1B3290 #901B6C
split-complementary
#90791B #1B6C90 #3E1B90
monochromatic
#292208 #5C4E11 #90791B #C4A425 #DDC049

Accessibility & contrast

On white

4.25
#90791B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.94
#90791B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #90791B
4.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##90791B#FFFFFF#000000##000000
##90791B1.004.254.944.94
#FFFFFF4.251.0021.0021.00
#0000004.9421.001.001.00
##0000004.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#877704
Deuteranopia (green-blind)
#8D7E21
Tritanopia (blue-blind)
#9C6F67
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #90791b;
/* rgb */ color: rgb(144, 121, 27);
/* oklch */ color: oklch(58.1% 0.110 94.3);
Tailwind
colors: {
  custom: {
    50: '#b49f60',
    500: '#90791b',
    950: '#000000',
  },
}
SCSS
$custom: #90791b;
$custom-light: #b49f60;
$custom-dark: #000000;
JSON
{
  "hex": "#90791b",
  "rgb": {
    "r": 144,
    "g": 121,
    "b": 27
  },
  "hsl": {
    "h": 48.205,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.58147,
    "c": 0.11013,
    "h": 94.3
  },
  "luminance": 0.19683
}

Semantic roles & 50–950 ramp

primary
#90791B
secondary
#485FBF
accent
#5FEB3D
background
#FBF9F5
surface
#F6F2EA
border
#D0CCC6
text
#120E05
muted
#817E79

Preview Lab

Preview with #90791B

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

Preview Lab → · Contrast checker → · Palette generator →

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