#918D1C#918D1C

#918D1C is a light, vivid yellow. Relative luminance 0.252; OKLCH L 62.7% C 0.126 H 107.4°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#918D1C
RGBrgb(145, 141, 28)
HSLhsl(58, 68%, 34%)
HSVhsv(58, 81%, 57%)
CMYKcmyk(0%, 2.8%, 80.7%, 43.1%)
CIE-LABlab(57.23, -11.39, 55.47)
CIE-LCHlch(57.23, 56.63, 101.60°)
OKLaboklab(62.74% -0.0377 0.1204)
OKLCHoklch(62.74% 0.126 107.4)
XYZxyz(21.4124, 25.1541, 4.8257)
Luminance0.2515 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#918D1C #1C2091
analogous
#91531C #918D1C #5B911C
triadic
#918D1C #1C918D #8D1C91
tetradic
#918D1C #1C9153 #1C2091 #911C5B
square
#918D1C #1C9153 #1C2091 #911C5B
split-complementary
#918D1C #1C5B91 #531C91
monochromatic
#2A2908 #5E5B12 #918D1C #C4BF26 #DCD74B

Accessibility & contrast

On white

3.48
#918D1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#918D1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #918D1C
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##918D1C#FFFFFF#000000##000000
##918D1C1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8700
Deuteranopia (green-blind)
#9C8B26
Tritanopia (blue-blind)
#9C8378
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #918d1c;
/* rgb */ color: rgb(145, 141, 28);
/* oklch */ color: oklch(62.7% 0.126 107.4);
Tailwind
colors: {
  custom: {
    50: '#b5ae63',
    500: '#918d1c',
    950: '#000000',
  },
}
SCSS
$custom: #918d1c;
$custom-light: #b5ae63;
$custom-dark: #000000;
JSON
{
  "hex": "#918d1c",
  "rgb": {
    "r": 145,
    "g": 141,
    "b": 28
  },
  "hsl": {
    "h": 57.949,
    "s": 67.63,
    "l": 33.922
  },
  "oklch": {
    "l": 0.62735,
    "c": 0.12613,
    "h": 107.4
  },
  "luminance": 0.25153
}

Semantic roles & 50–950 ramp

primary
#918D1C
secondary
#4A4EBE
accent
#43EB3D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #918D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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