#918223#918223

#918223 is a mid, moderate yellow. Relative luminance 0.221; OKLCH L 60.3% C 0.112 H 99.9°. Best body text is #000000 at 5.42:1 contrast (WCAG AA passes).

Color values

HEX#918223
RGBrgb(145, 130, 35)
HSLhsl(52, 61%, 35%)
HSVhsv(52, 76%, 57%)
CMYKcmyk(0%, 10.3%, 75.9%, 43.1%)
CIE-LABlab(54.14, -5.11, 50.25)
CIE-LCHlch(54.14, 50.51, 95.81°)
OKLaboklab(60.29% -0.0194 0.1106)
OKLCHoklch(60.29% 0.112 99.9)
XYZxyz(19.9640, 22.1073, 4.8053)
Luminance0.2211 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#918223 #233291
analogous
#914B23 #918223 #699123
triadic
#918223 #239182 #822391
tetradic
#918223 #23914B #233291 #912369
square
#918223 #23914B #233291 #912369
split-complementary
#918223 #236991 #4B2391
monochromatic
#2E2A0B #605617 #918223 #C2AE2F #D7C558

Accessibility & contrast

On white

3.87
#918223 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.42
#918223 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #918223
5.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##918223#FFFFFF#000000##000000
##9182231.003.875.425.42
#FFFFFF3.871.0021.0021.00
#0000005.4221.001.001.00
##0000005.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E12
Deuteranopia (green-blind)
#938429
Tritanopia (blue-blind)
#9D7870
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #918223;
/* rgb */ color: rgb(145, 130, 35);
/* oklch */ color: oklch(60.3% 0.112 99.9);
Tailwind
colors: {
  custom: {
    50: '#b5a665',
    500: '#918223',
    950: '#000000',
  },
}
SCSS
$custom: #918223;
$custom-light: #b5a665;
$custom-dark: #000000;
JSON
{
  "hex": "#918223",
  "rgb": {
    "r": 145,
    "g": 130,
    "b": 35
  },
  "hsl": {
    "h": 51.818,
    "s": 61.111,
    "l": 35.294
  },
  "oklch": {
    "l": 0.60293,
    "c": 0.11232,
    "h": 99.9
  },
  "luminance": 0.22106
}

Semantic roles & 50–950 ramp

primary
#918223
secondary
#5563BB
accent
#59E444
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #918223

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

Preview Lab → · Contrast checker → · Palette generator →

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