#918331#918331

#918331 is a mid, moderate yellow. Relative luminance 0.225; OKLCH L 60.6% C 0.103 H 99.6°. Best body text is #000000 at 5.49:1 contrast (WCAG AA passes).

Color values

HEX#918331
RGBrgb(145, 131, 49)
HSLhsl(51, 49%, 38%)
HSVhsv(51, 66%, 57%)
CMYKcmyk(0%, 9.7%, 66.2%, 43.1%)
CIE-LABlab(54.53, -4.88, 44.77)
CIE-LCHlch(54.53, 45.04, 96.23°)
OKLaboklab(60.63% -0.0171 0.1016)
OKLCHoklch(60.63% 0.103 99.6)
XYZxyz(20.3486, 22.4750, 6.1714)
Luminance0.2247 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#918331 #313F91
analogous
#915331 #918331 #6F9131
triadic
#918331 #319183 #833191
tetradic
#918331 #319153 #313F91 #91316F
square
#918331 #319153 #313F91 #91316F
split-complementary
#918331 #316F91 #533191
monochromatic
#363012 #635A22 #918331 #BFAC41 #CEC06E

Accessibility & contrast

On white

3.82
#918331 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.49
#918331 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #918331
5.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##918331#FFFFFF#000000##000000
##9183311.003.825.495.49
#FFFFFF3.821.0021.0021.00
#0000005.4921.001.001.00
##0000005.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7F27
Deuteranopia (green-blind)
#938535
Tritanopia (blue-blind)
#9C7A72
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #918331;
/* rgb */ color: rgb(145, 131, 49);
/* oklch */ color: oklch(60.6% 0.103 99.6);
Tailwind
colors: {
  custom: {
    50: '#b4a66d',
    500: '#918331',
    950: '#000000',
  },
}
SCSS
$custom: #918331;
$custom-light: #b4a66d;
$custom-dark: #000000;
JSON
{
  "hex": "#918331",
  "rgb": {
    "r": 145,
    "g": 131,
    "b": 49
  },
  "hsl": {
    "h": 51.25,
    "s": 49.485,
    "l": 38.039
  },
  "oklch": {
    "l": 0.60634,
    "c": 0.10303,
    "h": 99.6
  },
  "luminance": 0.22474
}

Semantic roles & 50–950 ramp

primary
#918331
secondary
#6873B6
accent
#63D94F
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#110F07
muted
#807F7A

Preview Lab

Preview with #918331

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

Preview Lab → · Contrast checker → · Palette generator →

#918331 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva