#918D52#918D52

#918D52 is a light, moderate yellow. Relative luminance 0.257; OKLCH L 63.3% C 0.080 H 105.1°. Best body text is #000000 at 6.14:1 contrast (WCAG AA passes).

Color values

HEX#918D52
RGBrgb(145, 141, 82)
HSLhsl(56, 28%, 45%)
HSVhsv(56, 43%, 57%)
CMYKcmyk(0%, 2.8%, 43.4%, 43.1%)
CIE-LABlab(57.73, -7.47, 31.93)
CIE-LCHlch(57.73, 32.79, 103.18°)
OKLaboklab(63.3% -0.0208 0.0773)
OKLCHoklch(63.3% 0.08 105.1)
XYZxyz(22.7254, 25.6793, 11.7405)
Luminance0.2568 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#918D52 #525691
analogous
#916E52 #918D52 #769152
triadic
#918D52 #52918D #8D5291
tetradic
#918D52 #52916E #525691 #915276
square
#918D52 #52916E #525691 #915276
split-complementary
#918D52 #527691 #6E5291
monochromatic
#434126 #6A673C #918D52 #AFAB71 #C5C298

Accessibility & contrast

On white

3.42
#918D52 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.14
#918D52 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #918D52
6.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##918D52#FFFFFF#000000##000000
##918D521.003.426.146.14
#FFFFFF3.421.0021.0021.00
#0000006.1421.001.001.00
##0000006.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#96894D
Deuteranopia (green-blind)
#988C55
Tritanopia (blue-blind)
#99867F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #918d52;
/* rgb */ color: rgb(145, 141, 82);
/* oklch */ color: oklch(63.3% 0.080 105.1);
Tailwind
colors: {
  custom: {
    50: '#b2ae83',
    500: '#918d52',
    950: '#000000',
  },
}
SCSS
$custom: #918d52;
$custom-light: #b2ae83;
$custom-dark: #000000;
JSON
{
  "hex": "#918d52",
  "rgb": {
    "r": 145,
    "g": 141,
    "b": 82
  },
  "hsl": {
    "h": 56.19,
    "s": 27.753,
    "l": 44.51
  },
  "oklch": {
    "l": 0.63301,
    "c": 0.08002,
    "h": 105.1
  },
  "luminance": 0.25679
}

Semantic roles & 50–950 ramp

primary
#918D52
secondary
#8D8FB2
accent
#6AC464
background
#FBFAF8
surface
#F6F4EF
border
#D0CECA
text
#11100B
muted
#807F7C

Preview Lab

Preview with #918D52

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

Preview Lab → · Contrast checker → · Palette generator →

#918D52 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva