#918321#918321

#918321 is a mid, moderate yellow. Relative luminance 0.224; OKLCH L 60.5% C 0.114 H 100.8°. Best body text is #000000 at 5.47:1 contrast (WCAG AA passes).

Color values

HEX#918321
RGBrgb(145, 131, 33)
HSLhsl(53, 63%, 35%)
HSVhsv(53, 77%, 57%)
CMYKcmyk(0%, 9.7%, 77.2%, 43.1%)
CIE-LABlab(54.41, -5.76, 51.25)
CIE-LCHlch(54.41, 51.57, 96.41°)
OKLaboklab(60.5% -0.0214 0.1123)
OKLCHoklch(60.5% 0.114 100.8)
XYZxyz(20.0688, 22.3631, 4.6980)
Luminance0.2236 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#918321 #212F91
analogous
#914B21 #918321 #679121
triadic
#918321 #219183 #832191
tetradic
#918321 #21914B #212F91 #912167
square
#918321 #21914B #212F91 #912167
split-complementary
#918321 #216791 #4B2191
monochromatic
#2D290A #5F5616 #918321 #C3B02C #D8C854

Accessibility & contrast

On white

3.84
#918321 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.47
#918321 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #918321
5.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##918321#FFFFFF#000000##000000
##9183211.003.845.475.47
#FFFFFF3.841.0021.0021.00
#0000005.4721.001.001.00
##0000005.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F0D
Deuteranopia (green-blind)
#948528
Tritanopia (blue-blind)
#9D7970
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #918321;
/* rgb */ color: rgb(145, 131, 33);
/* oklch */ color: oklch(60.5% 0.114 100.8);
Tailwind
colors: {
  custom: {
    50: '#b5a664',
    500: '#918321',
    950: '#000000',
  },
}
SCSS
$custom: #918321;
$custom-light: #b5a664;
$custom-dark: #000000;
JSON
{
  "hex": "#918321",
  "rgb": {
    "r": 145,
    "g": 131,
    "b": 33
  },
  "hsl": {
    "h": 52.5,
    "s": 62.921,
    "l": 34.902
  },
  "oklch": {
    "l": 0.60503,
    "c": 0.11437,
    "h": 100.8
  },
  "luminance": 0.22362
}

Semantic roles & 50–950 ramp

primary
#918321
secondary
#525FBC
accent
#56E642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #918321

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

Preview Lab → · Contrast checker → · Palette generator →

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