#918C1C#918C1C

#918C1C is a light, vivid yellow. Relative luminance 0.249; OKLCH L 62.5% C 0.125 H 106.8°. Best body text is #000000 at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#918C1C
RGBrgb(145, 140, 28)
HSLhsl(57, 68%, 34%)
HSVhsv(57, 81%, 57%)
CMYKcmyk(0%, 3.4%, 80.7%, 43.1%)
CIE-LABlab(56.94, -10.85, 55.22)
CIE-LCHlch(56.94, 56.28, 101.12°)
OKLaboklab(62.51% -0.0362 0.1198)
OKLCHoklch(62.51% 0.125 106.8)
XYZxyz(21.2656, 24.8605, 4.7768)
Luminance0.2486 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#918C1C #1C2191
analogous
#91521C #918C1C #5C911C
triadic
#918C1C #1C918C #8C1C91
tetradic
#918C1C #1C9152 #1C2191 #911C5C
square
#918C1C #1C9152 #1C2191 #911C5C
split-complementary
#918C1C #1C5C91 #521C91
monochromatic
#2A2908 #5E5A12 #918C1C #C4BE26 #DCD64B

Accessibility & contrast

On white

3.52
#918C1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.97
#918C1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #918C1C
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##918C1C#FFFFFF#000000##000000
##918C1C1.003.525.975.97
#FFFFFF3.521.0021.0021.00
#0000005.9721.001.001.00
##0000005.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#998600
Deuteranopia (green-blind)
#9B8B26
Tritanopia (blue-blind)
#9C8278
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #918c1c;
/* rgb */ color: rgb(145, 140, 28);
/* oklch */ color: oklch(62.5% 0.125 106.8);
Tailwind
colors: {
  custom: {
    50: '#b5ad63',
    500: '#918c1c',
    950: '#000000',
  },
}
SCSS
$custom: #918c1c;
$custom-light: #b5ad63;
$custom-dark: #000000;
JSON
{
  "hex": "#918c1c",
  "rgb": {
    "r": 145,
    "g": 140,
    "b": 28
  },
  "hsl": {
    "h": 57.436,
    "s": 67.63,
    "l": 33.922
  },
  "oklch": {
    "l": 0.62507,
    "c": 0.12517,
    "h": 106.8
  },
  "luminance": 0.2486
}

Semantic roles & 50–950 ramp

primary
#918C1C
secondary
#4A4FBE
accent
#45EB3D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #918C1C

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

Preview Lab → · Contrast checker → · Palette generator →

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