#908017#908017

#908017 is a mid, moderate yellow. Relative luminance 0.214; OKLCH L 59.7% C 0.117 H 99.8°. Best body text is #000000 at 5.29:1 contrast (WCAG AA passes).

Color values

HEX#908017
RGBrgb(144, 128, 23)
HSLhsl(52, 72%, 33%)
HSVhsv(52, 84%, 56%)
CMYKcmyk(0%, 11.1%, 84%, 43.5%)
CIE-LABlab(53.42, -4.94, 53.61)
CIE-LCHlch(53.42, 53.84, 95.27°)
OKLaboklab(59.68% -0.02 0.1154)
OKLCHoklch(59.68% 0.117 99.8)
XYZxyz(19.3764, 21.4305, 3.9263)
Luminance0.2143 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908017 #172790
analogous
#904317 #908017 #639017
triadic
#908017 #179080 #801790
tetradic
#908017 #179043 #172790 #901763
square
#908017 #179043 #172790 #901763
split-complementary
#908017 #176390 #431790
monochromatic
#262206 #5B510F #908017 #C5AF1F #E1CB41

Accessibility & contrast

On white

3.97
#908017 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.29
#908017 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #908017
5.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908017#FFFFFF#000000##000000
##9080171.003.975.295.29
#FFFFFF3.971.0021.0021.00
#0000005.2921.001.001.00
##0000005.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7C00
Deuteranopia (green-blind)
#928220
Tritanopia (blue-blind)
#9C766D
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #908017;
/* rgb */ color: rgb(144, 128, 23);
/* oklch */ color: oklch(59.7% 0.117 99.8);
Tailwind
colors: {
  custom: {
    50: '#b4a460',
    500: '#908017',
    950: '#000000',
  },
}
SCSS
$custom: #908017;
$custom-light: #b4a460;
$custom-dark: #000000;
JSON
{
  "hex": "#908017",
  "rgb": {
    "r": 144,
    "g": 128,
    "b": 23
  },
  "hsl": {
    "h": 52.066,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.59676,
    "c": 0.11711,
    "h": 99.8
  },
  "luminance": 0.21429
}

Semantic roles & 50–950 ramp

primary
#908017
secondary
#4253C1
accent
#51EF39
background
#FBFAF5
surface
#F6F3EA
border
#D0CDC6
text
#120F05
muted
#817F79

Preview Lab

Preview with #908017

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

Preview Lab → · Contrast checker → · Palette generator →

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