#918D22#918D22

#918D22 is a light, vivid yellow. Relative luminance 0.252; OKLCH L 62.8% C 0.123 H 107.3°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#918D22
RGBrgb(145, 141, 34)
HSLhsl(58, 62%, 35%)
HSVhsv(58, 77%, 57%)
CMYKcmyk(0%, 2.8%, 76.6%, 43.1%)
CIE-LABlab(57.26, -11.15, 53.54)
CIE-LCHlch(57.26, 54.69, 101.76°)
OKLaboklab(62.77% -0.0365 0.1174)
OKLCHoklch(62.77% 0.123 107.3)
XYZxyz(21.4915, 25.1857, 5.2423)
Luminance0.2519 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#918D22 #222691
analogous
#915622 #918D22 #5D9122
triadic
#918D22 #22918D #8D2291
tetradic
#918D22 #229156 #222691 #91225D
square
#918D22 #229156 #222691 #91225D
split-complementary
#918D22 #225D91 #562291
monochromatic
#2E2D0B #5F5D16 #918D22 #C3BD2E #D7D356

Accessibility & contrast

On white

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

On black

6.04
#918D22 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #918D22
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##918D22#FFFFFF#000000##000000
##918D221.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#99870A
Deuteranopia (green-blind)
#9B8B2A
Tritanopia (blue-blind)
#9C8379
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #918d22;
/* rgb */ color: rgb(145, 141, 34);
/* oklch */ color: oklch(62.8% 0.123 107.3);
Tailwind
colors: {
  custom: {
    50: '#b5ae66',
    500: '#918d22',
    950: '#000000',
  },
}
SCSS
$custom: #918d22;
$custom-light: #b5ae66;
$custom-dark: #000000;
JSON
{
  "hex": "#918d22",
  "rgb": {
    "r": 145,
    "g": 141,
    "b": 34
  },
  "hsl": {
    "h": 57.838,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.62769,
    "c": 0.12296,
    "h": 107.3
  },
  "luminance": 0.25185
}

Semantic roles & 50–950 ramp

primary
#918D22
secondary
#5357BB
accent
#49E543
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #918D22

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

Preview Lab → · Contrast checker → · Palette generator →

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