#918E1C#918E1C

#918E1C is a light, vivid yellow. Relative luminance 0.255; OKLCH L 63.0% C 0.127 H 108.0°. Best body text is #000000 at 6.09:1 contrast (WCAG AA passes).

Color values

HEX#918E1C
RGBrgb(145, 142, 28)
HSLhsl(58, 68%, 34%)
HSVhsv(58, 81%, 57%)
CMYKcmyk(0%, 2.1%, 80.7%, 43.1%)
CIE-LABlab(57.51, -11.92, 55.73)
CIE-LCHlch(57.51, 56.99, 102.08°)
OKLaboklab(62.96% -0.0392 0.1209)
OKLCHoklch(62.96% 0.127 108)
XYZxyz(21.5605, 25.4503, 4.8751)
Luminance0.2545 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#918E1C #1C1F91
analogous
#91541C #918E1C #5A911C
triadic
#918E1C #1C918E #8E1C91
tetradic
#918E1C #1C9154 #1C1F91 #911C5A
square
#918E1C #1C9154 #1C1F91 #911C5A
split-complementary
#918E1C #1C5A91 #541C91
monochromatic
#2A2A08 #5E5C12 #918E1C #C4C026 #DCD94B

Accessibility & contrast

On white

3.45
#918E1C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.09
#918E1C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #918E1C
6.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##918E1C#FFFFFF#000000##000000
##918E1C1.003.456.096.09
#FFFFFF3.451.0021.0021.00
#0000006.0921.001.001.00
##0000006.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8800
Deuteranopia (green-blind)
#9C8C26
Tritanopia (blue-blind)
#9C8479
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #918e1c;
/* rgb */ color: rgb(145, 142, 28);
/* oklch */ color: oklch(63.0% 0.127 108.0);
Tailwind
colors: {
  custom: {
    50: '#b5ae64',
    500: '#918e1c',
    950: '#000000',
  },
}
SCSS
$custom: #918e1c;
$custom-light: #b5ae64;
$custom-dark: #000000;
JSON
{
  "hex": "#918e1c",
  "rgb": {
    "r": 145,
    "g": 142,
    "b": 28
  },
  "hsl": {
    "h": 58.462,
    "s": 67.63,
    "l": 33.922
  },
  "oklch": {
    "l": 0.62964,
    "c": 0.1271,
    "h": 108
  },
  "luminance": 0.2545
}

Semantic roles & 50–950 ramp

primary
#918E1C
secondary
#4A4DBE
accent
#42EB3D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #918E1C

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

Preview Lab → · Contrast checker → · Palette generator →

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