#918420#918420

#918420 is a mid, moderate yellow. Relative luminance 0.226; OKLCH L 60.7% C 0.116 H 101.6°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#918420
RGBrgb(145, 132, 32)
HSLhsl(53, 64%, 35%)
HSVhsv(53, 78%, 57%)
CMYKcmyk(0%, 9%, 77.9%, 43.1%)
CIE-LABlab(54.69, -6.35, 51.86)
CIE-LCHlch(54.69, 52.25, 96.98°)
OKLaboklab(60.72% -0.0232 0.1134)
OKLCHoklch(60.72% 0.116 101.6)
XYZxyz(20.1900, 22.6275, 4.6703)
Luminance0.2263 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#918420 #202D91
analogous
#914B20 #918420 #669120
triadic
#918420 #209184 #842091
tetradic
#918420 #20914B #202D91 #912066
square
#918420 #20914B #202D91 #912066
split-complementary
#918420 #206691 #4B2091
monochromatic
#2D290A #5F5615 #918420 #C3B22B #D9C952

Accessibility & contrast

On white

3.80
#918420 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#918420 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #918420
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##918420#FFFFFF#000000##000000
##9184201.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800A
Deuteranopia (green-blind)
#958527
Tritanopia (blue-blind)
#9D7A71
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #918420;
/* rgb */ color: rgb(145, 132, 32);
/* oklch */ color: oklch(60.7% 0.116 101.6);
Tailwind
colors: {
  custom: {
    50: '#b5a764',
    500: '#918420',
    950: '#000000',
  },
}
SCSS
$custom: #918420;
$custom-light: #b5a764;
$custom-dark: #000000;
JSON
{
  "hex": "#918420",
  "rgb": {
    "r": 145,
    "g": 132,
    "b": 32
  },
  "hsl": {
    "h": 53.097,
    "s": 63.842,
    "l": 34.706
  },
  "oklch": {
    "l": 0.60721,
    "c": 0.11579,
    "h": 101.6
  },
  "luminance": 0.22627
}

Semantic roles & 50–950 ramp

primary
#918420
secondary
#515DBC
accent
#54E741
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #918420

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

Preview Lab → · Contrast checker → · Palette generator →

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