#918022#918022

#918022 is a mid, moderate yellow. Relative luminance 0.216; OKLCH L 59.8% C 0.111 H 98.5°. Best body text is #000000 at 5.31:1 contrast (WCAG AA passes).

Color values

HEX#918022
RGBrgb(145, 128, 34)
HSLhsl(51, 62%, 35%)
HSVhsv(51, 77%, 57%)
CMYKcmyk(0%, 11.7%, 76.6%, 43.1%)
CIE-LABlab(53.57, -4.05, 50.09)
CIE-LCHlch(53.57, 50.26, 94.62°)
OKLaboklab(59.84% -0.0165 0.1101)
OKLCHoklch(59.84% 0.111 98.5)
XYZxyz(19.6859, 21.5746, 4.6405)
Luminance0.2157 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#918022 #223391
analogous
#914922 #918022 #6A9122
triadic
#918022 #229180 #802291
tetradic
#918022 #229149 #223391 #91226A
square
#918022 #229149 #223391 #91226A
split-complementary
#918022 #226A91 #492291
monochromatic
#2E280B #5F5416 #918022 #C3AC2E #D7C456

Accessibility & contrast

On white

3.95
#918022 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.31
#918022 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #918022
5.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##918022#FFFFFF#000000##000000
##9180221.003.955.315.31
#FFFFFF3.951.0021.0021.00
#0000005.3121.001.001.00
##0000005.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D10
Deuteranopia (green-blind)
#928328
Tritanopia (blue-blind)
#9D766E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #918022;
/* rgb */ color: rgb(145, 128, 34);
/* oklch */ color: oklch(59.8% 0.111 98.5);
Tailwind
colors: {
  custom: {
    50: '#b5a465',
    500: '#918022',
    950: '#000000',
  },
}
SCSS
$custom: #918022;
$custom-light: #b5a465;
$custom-dark: #000000;
JSON
{
  "hex": "#918022",
  "rgb": {
    "r": 145,
    "g": 128,
    "b": 34
  },
  "hsl": {
    "h": 50.811,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.59841,
    "c": 0.11131,
    "h": 98.5
  },
  "luminance": 0.21574
}

Semantic roles & 50–950 ramp

primary
#918022
secondary
#5363BB
accent
#5CE543
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #918022

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

Preview Lab → · Contrast checker → · Palette generator →

#918022 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva