#918F24#918F24

#918F24 is a light, vivid yellow. Relative luminance 0.258; OKLCH L 63.2% C 0.124 H 108.4°. Best body text is #000000 at 6.16:1 contrast (WCAG AA passes).

Color values

HEX#918F24
RGBrgb(145, 143, 36)
HSLhsl(59, 60%, 35%)
HSVhsv(59, 75%, 57%)
CMYKcmyk(0%, 1.4%, 75.2%, 43.1%)
CIE-LABlab(57.84, -12.12, 53.39)
CIE-LCHlch(57.84, 54.75, 102.80°)
OKLaboklab(63.24% -0.039 0.1175)
OKLCHoklch(63.24% 0.124 108.4)
XYZxyz(21.8188, 25.7927, 5.4979)
Luminance0.2579 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#918F24 #242691
analogous
#915824 #918F24 #5C9124
triadic
#918F24 #24918F #8F2491
tetradic
#918F24 #249158 #242691 #91245C
square
#918F24 #249158 #242691 #91245C
split-complementary
#918F24 #245C91 #582491
monochromatic
#2F2E0C #605F18 #918F24 #C2BF30 #D6D459

Accessibility & contrast

On white

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

On black

6.16
#918F24 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #918F24
6.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##918F24#FFFFFF#000000##000000
##918F241.003.416.166.16
#FFFFFF3.411.0021.0021.00
#0000006.1621.001.001.00
##0000006.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B890E
Deuteranopia (green-blind)
#9D8D2C
Tritanopia (blue-blind)
#9C857B
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #918f24;
/* rgb */ color: rgb(145, 143, 36);
/* oklch */ color: oklch(63.2% 0.124 108.4);
Tailwind
colors: {
  custom: {
    50: '#b5af67',
    500: '#918f24',
    950: '#000000',
  },
}
SCSS
$custom: #918f24;
$custom-light: #b5af67;
$custom-dark: #000000;
JSON
{
  "hex": "#918f24",
  "rgb": {
    "r": 145,
    "g": 143,
    "b": 36
  },
  "hsl": {
    "h": 58.899,
    "s": 60.221,
    "l": 35.49
  },
  "oklch": {
    "l": 0.63239,
    "c": 0.12378,
    "h": 108.4
  },
  "luminance": 0.25792
}

Semantic roles & 50–950 ramp

primary
#918F24
secondary
#5658BA
accent
#47E344
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #918F24

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

Preview Lab → · Contrast checker → · Palette generator →

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