#918F1C#918F1C

#918F1C is a light, vivid yellow. Relative luminance 0.257; 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#918F1C
RGBrgb(145, 143, 28)
HSLhsl(59, 68%, 34%)
HSVhsv(59, 81%, 57%)
CMYKcmyk(0%, 1.4%, 80.7%, 43.1%)
CIE-LABlab(57.80, -12.46, 55.98)
CIE-LCHlch(57.80, 57.35, 102.54°)
OKLaboklab(63.19% -0.0407 0.1215)
OKLCHoklch(63.19% 0.128 108.5)
XYZxyz(21.7100, 25.7492, 4.9249)
Luminance0.2575 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#918F1C #1C1E91
analogous
#91551C #918F1C #59911C
triadic
#918F1C #1C918F #8F1C91
tetradic
#918F1C #1C9155 #1C1E91 #911C59
square
#918F1C #1C9155 #1C1E91 #911C59
split-complementary
#918F1C #1C5991 #551C91
monochromatic
#2A2A08 #5E5C12 #918F1C #C4C226 #DCDA4B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #918f1c;
/* rgb */ color: rgb(145, 143, 28);
/* oklch */ color: oklch(63.2% 0.128 108.5);
Tailwind
colors: {
  custom: {
    50: '#b5af64',
    500: '#918f1c',
    950: '#000000',
  },
}
SCSS
$custom: #918f1c;
$custom-light: #b5af64;
$custom-dark: #000000;
JSON
{
  "hex": "#918f1c",
  "rgb": {
    "r": 145,
    "g": 143,
    "b": 28
  },
  "hsl": {
    "h": 58.974,
    "s": 67.63,
    "l": 33.922
  },
  "oklch": {
    "l": 0.63193,
    "c": 0.12808,
    "h": 108.5
  },
  "luminance": 0.25749
}

Semantic roles & 50–950 ramp

primary
#918F1C
secondary
#4A4CBE
accent
#40EB3D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #918F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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