#918328#918328

#918328 is a mid, moderate yellow. Relative luminance 0.224; OKLCH L 60.6% C 0.110 H 100.3°. Best body text is #000000 at 5.48:1 contrast (WCAG AA passes).

Color values

HEX#918328
RGBrgb(145, 131, 40)
HSLhsl(52, 57%, 36%)
HSVhsv(52, 72%, 57%)
CMYKcmyk(0%, 9.7%, 72.4%, 43.1%)
CIE-LABlab(54.46, -5.42, 48.59)
CIE-LCHlch(54.46, 48.89, 96.36°)
OKLaboklab(60.55% -0.0197 0.1081)
OKLCHoklch(60.55% 0.11 100.3)
XYZxyz(20.1773, 22.4065, 5.2691)
Luminance0.2241 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#918328 #283691
analogous
#914F28 #918328 #6B9128
triadic
#918328 #289183 #832891
tetradic
#918328 #28914F #283691 #91286B
square
#918328 #28914F #283691 #91286B
split-complementary
#918328 #286B91 #4F2891
monochromatic
#312C0E #61581B #918328 #C1AE35 #D3C460

Accessibility & contrast

On white

3.83
#918328 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.48
#918328 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #918328
5.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##918328#FFFFFF#000000##000000
##9183281.003.835.485.48
#FFFFFF3.831.0021.0021.00
#0000005.4821.001.001.00
##0000005.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F1A
Deuteranopia (green-blind)
#94852E
Tritanopia (blue-blind)
#9C7971
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #918328;
/* rgb */ color: rgb(145, 131, 40);
/* oklch */ color: oklch(60.6% 0.110 100.3);
Tailwind
colors: {
  custom: {
    50: '#b4a668',
    500: '#918328',
    950: '#000000',
  },
}
SCSS
$custom: #918328;
$custom-light: #b4a668;
$custom-dark: #000000;
JSON
{
  "hex": "#918328",
  "rgb": {
    "r": 145,
    "g": 131,
    "b": 40
  },
  "hsl": {
    "h": 52,
    "s": 56.757,
    "l": 36.275
  },
  "oklch": {
    "l": 0.60554,
    "c": 0.10987,
    "h": 100.3
  },
  "luminance": 0.22406
}

Semantic roles & 50–950 ramp

primary
#918328
secondary
#5C68B9
accent
#5CE048
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #918328

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

Preview Lab → · Contrast checker → · Palette generator →

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