#908217#908217

#908217 is a mid, moderate yellow. Relative luminance 0.220; OKLCH L 60.1% C 0.119 H 101.2°. Best body text is #000000 at 5.39:1 contrast (WCAG AA passes).

Color values

HEX#908217
RGBrgb(144, 130, 23)
HSLhsl(53, 72%, 33%)
HSVhsv(53, 84%, 56%)
CMYKcmyk(0%, 9.7%, 84%, 43.5%)
CIE-LABlab(53.98, -6.05, 54.09)
CIE-LCHlch(53.98, 54.43, 96.38°)
OKLaboklab(60.12% -0.0231 0.1164)
OKLCHoklch(60.12% 0.119 101.2)
XYZxyz(19.6399, 21.9574, 4.0141)
Luminance0.2196 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908217 #172590
analogous
#904617 #908217 #619017
triadic
#908217 #179082 #821790
tetradic
#908217 #179046 #172590 #901761
square
#908217 #179046 #172590 #901761
split-complementary
#908217 #176190 #461790
monochromatic
#262306 #5B520F #908217 #C5B21F #E1CE41

Accessibility & contrast

On white

3.90
#908217 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.39
#908217 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #908217
5.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908217#FFFFFF#000000##000000
##9082171.003.905.395.39
#FFFFFF3.901.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#938320
Tritanopia (blue-blind)
#9C786F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #908217;
/* rgb */ color: rgb(144, 130, 23);
/* oklch */ color: oklch(60.1% 0.119 101.2);
Tailwind
colors: {
  custom: {
    50: '#b4a560',
    500: '#908217',
    950: '#000000',
  },
}
SCSS
$custom: #908217;
$custom-light: #b4a560;
$custom-dark: #000000;
JSON
{
  "hex": "#908217",
  "rgb": {
    "r": 144,
    "g": 130,
    "b": 23
  },
  "hsl": {
    "h": 53.058,
    "s": 72.455,
    "l": 32.745
  },
  "oklch": {
    "l": 0.60124,
    "c": 0.11871,
    "h": 101.2
  },
  "luminance": 0.21956
}

Semantic roles & 50–950 ramp

primary
#908217
secondary
#4250C1
accent
#4EEF39
background
#FBFAF5
surface
#F6F4EA
border
#D0CEC6
text
#120F05
muted
#817F79

Preview Lab

Preview with #908217

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

Preview Lab → · Contrast checker → · Palette generator →

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