#908218#908218

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

Color values

HEX#908218
RGBrgb(144, 130, 24)
HSLhsl(53, 71%, 33%)
HSVhsv(53, 83%, 56%)
CMYKcmyk(0%, 9.7%, 83.3%, 43.5%)
CIE-LABlab(53.99, -6.01, 53.81)
CIE-LCHlch(53.99, 54.14, 96.38°)
OKLaboklab(60.13% -0.0229 0.116)
OKLCHoklch(60.13% 0.118 101.2)
XYZxyz(19.6501, 21.9614, 4.0679)
Luminance0.2196 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908218 #182690
analogous
#904618 #908218 #629018
triadic
#908218 #189082 #821890
tetradic
#908218 #189046 #182690 #901862
square
#908218 #189046 #182690 #901862
split-complementary
#908218 #186290 #461890
monochromatic
#272307 #5C530F #908218 #C4B121 #E0CD43

Accessibility & contrast

On white

3.89
#908218 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##908218#FFFFFF#000000##000000
##9082181.003.895.395.39
#FFFFFF3.891.0021.0021.00
#0000005.3921.001.001.00
##0000005.3921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #908218;
/* rgb */ color: rgb(144, 130, 24);
/* oklch */ color: oklch(60.1% 0.118 101.2);
Tailwind
colors: {
  custom: {
    50: '#b4a560',
    500: '#908218',
    950: '#000000',
  },
}
SCSS
$custom: #908218;
$custom-light: #b4a560;
$custom-dark: #000000;
JSON
{
  "hex": "#908218",
  "rgb": {
    "r": 144,
    "g": 130,
    "b": 24
  },
  "hsl": {
    "h": 53,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.60129,
    "c": 0.11826,
    "h": 101.2
  },
  "luminance": 0.21961
}

Semantic roles & 50–950 ramp

primary
#908218
secondary
#4352C0
accent
#4FEE3A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F05
muted
#817F7A

Preview Lab

Preview with #908218

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

Preview Lab → · Contrast checker → · Palette generator →

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