#918D1F#918D1F

#918D1F is a light, vivid yellow. Relative luminance 0.252; OKLCH L 62.8% C 0.125 H 107.3°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#918D1F
RGBrgb(145, 141, 31)
HSLhsl(58, 65%, 35%)
HSVhsv(58, 79%, 57%)
CMYKcmyk(0%, 2.8%, 78.6%, 43.1%)
CIE-LABlab(57.24, -11.27, 54.54)
CIE-LCHlch(57.24, 55.69, 101.68°)
OKLaboklab(62.75% -0.0371 0.119)
OKLCHoklch(62.75% 0.125 107.3)
XYZxyz(21.4501, 25.1692, 5.0243)
Luminance0.2517 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#918D1F #1F2391
analogous
#91541F #918D1F #5C911F
triadic
#918D1F #1F918D #8D1F91
tetradic
#918D1F #1F9154 #1F2391 #911F5C
square
#918D1F #1F9154 #1F2391 #911F5C
split-complementary
#918D1F #1F5C91 #541F91
monochromatic
#2C2B09 #5F5C14 #918D1F #C3BE2A #DAD551

Accessibility & contrast

On white

3.48
#918D1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#918D1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #918D1F
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##918D1F#FFFFFF#000000##000000
##918D1F1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#998702
Deuteranopia (green-blind)
#9C8B28
Tritanopia (blue-blind)
#9C8379
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #918d1f;
/* rgb */ color: rgb(145, 141, 31);
/* oklch */ color: oklch(62.8% 0.125 107.3);
Tailwind
colors: {
  custom: {
    50: '#b5ae65',
    500: '#918d1f',
    950: '#000000',
  },
}
SCSS
$custom: #918d1f;
$custom-light: #b5ae65;
$custom-dark: #000000;
JSON
{
  "hex": "#918d1f",
  "rgb": {
    "r": 145,
    "g": 141,
    "b": 31
  },
  "hsl": {
    "h": 57.895,
    "s": 64.773,
    "l": 34.51
  },
  "oklch": {
    "l": 0.62752,
    "c": 0.12461,
    "h": 107.3
  },
  "luminance": 0.25168
}

Semantic roles & 50–950 ramp

primary
#918D1F
secondary
#4F53BD
accent
#46E840
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #918D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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