#918F22#918F22

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

Color values

HEX#918F22
RGBrgb(145, 143, 34)
HSLhsl(59, 62%, 35%)
HSVhsv(59, 77%, 57%)
CMYKcmyk(0%, 1.4%, 76.6%, 43.1%)
CIE-LABlab(57.83, -12.22, 54.08)
CIE-LCHlch(57.83, 55.44, 102.73°)
OKLaboklab(63.23% -0.0395 0.1186)
OKLCHoklch(63.23% 0.125 108.4)
XYZxyz(21.7891, 25.7809, 5.3415)
Luminance0.2578 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#918F22 #222491
analogous
#915822 #918F22 #5B9122
triadic
#918F22 #22918F #8F2291
tetradic
#918F22 #229158 #222491 #91225B
square
#918F22 #229158 #222491 #91225B
split-complementary
#918F22 #225B91 #582291
monochromatic
#2E2D0B #5F5E16 #918F22 #C3C02E #D7D556

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##918F22#FFFFFF#000000##000000
##918F221.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)
#9B8908
Deuteranopia (green-blind)
#9D8D2B
Tritanopia (blue-blind)
#9C857A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #918f22;
/* rgb */ color: rgb(145, 143, 34);
/* oklch */ color: oklch(63.2% 0.125 108.4);
Tailwind
colors: {
  custom: {
    50: '#b5af66',
    500: '#918f22',
    950: '#000000',
  },
}
SCSS
$custom: #918f22;
$custom-light: #b5af66;
$custom-dark: #000000;
JSON
{
  "hex": "#918f22",
  "rgb": {
    "r": 145,
    "g": 143,
    "b": 34
  },
  "hsl": {
    "h": 58.919,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.63226,
    "c": 0.12495,
    "h": 108.4
  },
  "luminance": 0.2578
}

Semantic roles & 50–950 ramp

primary
#918F22
secondary
#5355BB
accent
#46E543
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #918F22

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

Preview Lab → · Contrast checker → · Palette generator →

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