#918F1E#918F1E

#918F1E 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#918F1E
RGBrgb(145, 143, 30)
HSLhsl(59, 66%, 34%)
HSVhsv(59, 79%, 57%)
CMYKcmyk(0%, 1.4%, 79.3%, 43.1%)
CIE-LABlab(57.81, -12.38, 55.37)
CIE-LCHlch(57.81, 56.74, 102.60°)
OKLaboklab(63.2% -0.0403 0.1205)
OKLCHoklch(63.2% 0.127 108.5)
XYZxyz(21.7347, 25.7591, 5.0552)
Luminance0.2576 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#918F1E #1E2091
analogous
#91561E #918F1E #59911E
triadic
#918F1E #1E918F #8F1E91
tetradic
#918F1E #1E9156 #1E2091 #911E59
square
#918F1E #1E9156 #1E2091 #911E59
split-complementary
#918F1E #1E5991 #561E91
monochromatic
#2C2B09 #5E5D14 #918F1E #C4C128 #DBD84F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #918f1e;
/* rgb */ color: rgb(145, 143, 30);
/* oklch */ color: oklch(63.2% 0.127 108.5);
Tailwind
colors: {
  custom: {
    50: '#b5af65',
    500: '#918f1e',
    950: '#000000',
  },
}
SCSS
$custom: #918f1e;
$custom-light: #b5af65;
$custom-dark: #000000;
JSON
{
  "hex": "#918f1e",
  "rgb": {
    "r": 145,
    "g": 143,
    "b": 30
  },
  "hsl": {
    "h": 58.957,
    "s": 65.714,
    "l": 34.314
  },
  "oklch": {
    "l": 0.63203,
    "c": 0.12709,
    "h": 108.5
  },
  "luminance": 0.25758
}

Semantic roles & 50–950 ramp

primary
#918F1E
secondary
#4D4FBD
accent
#42E93F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #918F1E

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

Preview Lab → · Contrast checker → · Palette generator →

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