#918F1D#918F1D

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

Color values

HEX#918F1D
RGBrgb(145, 143, 29)
HSLhsl(59, 67%, 34%)
HSVhsv(59, 80%, 57%)
CMYKcmyk(0%, 1.4%, 80%, 43.1%)
CIE-LABlab(57.80, -12.42, 55.68)
CIE-LCHlch(57.80, 57.05, 102.57°)
OKLaboklab(63.2% -0.0405 0.121)
OKLCHoklch(63.2% 0.128 108.5)
XYZxyz(21.7221, 25.7541, 4.9890)
Luminance0.2575 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#918F1D #1D1F91
analogous
#91551D #918F1D #59911D
triadic
#918F1D #1D918F #8F1D91
tetradic
#918F1D #1D9155 #1D1F91 #911D59
square
#918F1D #1D9155 #1D1F91 #911D59
split-complementary
#918F1D #1D5991 #551D91
monochromatic
#2B2A09 #5E5D13 #918F1D #C4C127 #DBD94D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##918F1D#FFFFFF#000000##000000
##918F1D1.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)
#9D8D27
Tritanopia (blue-blind)
#9C857A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #918f1d;
/* rgb */ color: rgb(145, 143, 29);
/* oklch */ color: oklch(63.2% 0.128 108.5);
Tailwind
colors: {
  custom: {
    50: '#b5af64',
    500: '#918f1d',
    950: '#000000',
  },
}
SCSS
$custom: #918f1d;
$custom-light: #b5af64;
$custom-dark: #000000;
JSON
{
  "hex": "#918f1d",
  "rgb": {
    "r": 145,
    "g": 143,
    "b": 29
  },
  "hsl": {
    "h": 58.966,
    "s": 66.667,
    "l": 34.118
  },
  "oklch": {
    "l": 0.63198,
    "c": 0.12759,
    "h": 108.5
  },
  "luminance": 0.25753
}

Semantic roles & 50–950 ramp

primary
#918F1D
secondary
#4C4EBE
accent
#41EA3E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #918F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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