#918F1F#918F1F

#918F1F is a light, vivid yellow. Relative luminance 0.258; OKLCH L 63.2% C 0.127 H 108.5°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#918F1F
RGBrgb(145, 143, 31)
HSLhsl(59, 65%, 35%)
HSVhsv(59, 79%, 57%)
CMYKcmyk(0%, 1.4%, 78.6%, 43.1%)
CIE-LABlab(57.81, -12.34, 55.06)
CIE-LCHlch(57.81, 56.42, 102.63°)
OKLaboklab(63.21% -0.0401 0.1201)
OKLCHoklch(63.21% 0.127 108.5)
XYZxyz(21.7477, 25.7643, 5.1235)
Luminance0.2576 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#918F1F #1F2191
analogous
#91561F #918F1F #5A911F
triadic
#918F1F #1F918F #8F1F91
tetradic
#918F1F #1F9156 #1F2191 #911F5A
square
#918F1F #1F9156 #1F2191 #911F5A
split-complementary
#918F1F #1F5A91 #561F91
monochromatic
#2C2C09 #5F5D14 #918F1F #C3C12A #DAD751

Accessibility & contrast

On white

3.41
#918F1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#918F1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #918F1F
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##918F1F#FFFFFF#000000##000000
##918F1F1.003.416.156.15
#FFFFFF3.411.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8900
Deuteranopia (green-blind)
#9D8D29
Tritanopia (blue-blind)
#9C857A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #918f1f;
/* rgb */ color: rgb(145, 143, 31);
/* oklch */ color: oklch(63.2% 0.127 108.5);
Tailwind
colors: {
  custom: {
    50: '#b5af65',
    500: '#918f1f',
    950: '#000000',
  },
}
SCSS
$custom: #918f1f;
$custom-light: #b5af65;
$custom-dark: #000000;
JSON
{
  "hex": "#918f1f",
  "rgb": {
    "r": 145,
    "g": 143,
    "b": 31
  },
  "hsl": {
    "h": 58.947,
    "s": 64.773,
    "l": 34.51
  },
  "oklch": {
    "l": 0.63209,
    "c": 0.12658,
    "h": 108.5
  },
  "luminance": 0.25764
}

Semantic roles & 50–950 ramp

primary
#918F1F
secondary
#4F51BD
accent
#43E840
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #918F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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