#918722#918722

#918722 is a mid, moderate yellow. Relative luminance 0.235; OKLCH L 61.4% C 0.117 H 103.5°. Best body text is #000000 at 5.69:1 contrast (WCAG AA passes).

Color values

HEX#918722
RGBrgb(145, 135, 34)
HSLhsl(55, 62%, 35%)
HSVhsv(55, 77%, 57%)
CMYKcmyk(0%, 6.9%, 76.6%, 43.1%)
CIE-LABlab(55.55, -7.90, 51.95)
CIE-LCHlch(55.55, 52.55, 98.65°)
OKLaboklab(61.41% -0.0274 0.114)
OKLCHoklch(61.41% 0.117 103.5)
XYZxyz(20.6307, 23.4640, 4.9554)
Luminance0.2346 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#918722 #222C91
analogous
#915022 #918722 #639122
triadic
#918722 #229187 #872291
tetradic
#918722 #229150 #222C91 #912263
square
#918722 #229150 #222C91 #912263
split-complementary
#918722 #226391 #502291
monochromatic
#2E2B0B #5F5916 #918722 #C3B52E #D7CC56

Accessibility & contrast

On white

3.69
#918722 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.69
#918722 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #918722
5.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##918722#FFFFFF#000000##000000
##9187221.003.695.695.69
#FFFFFF3.691.0021.0021.00
#0000005.6921.001.001.00
##0000005.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#94820D
Deuteranopia (green-blind)
#978729
Tritanopia (blue-blind)
#9C7D74
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #918722;
/* rgb */ color: rgb(145, 135, 34);
/* oklch */ color: oklch(61.4% 0.117 103.5);
Tailwind
colors: {
  custom: {
    50: '#b5a965',
    500: '#918722',
    950: '#000000',
  },
}
SCSS
$custom: #918722;
$custom-light: #b5a965;
$custom-dark: #000000;
JSON
{
  "hex": "#918722",
  "rgb": {
    "r": 145,
    "g": 135,
    "b": 34
  },
  "hsl": {
    "h": 54.595,
    "s": 62.011,
    "l": 35.098
  },
  "oklch": {
    "l": 0.61408,
    "c": 0.11727,
    "h": 103.5
  },
  "luminance": 0.23463
}

Semantic roles & 50–950 ramp

primary
#918722
secondary
#535DBB
accent
#51E543
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #918722

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

Preview Lab → · Contrast checker → · Palette generator →

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