#908018#908018

#908018 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#908018
RGBrgb(144, 128, 24)
HSLhsl(52, 71%, 33%)
HSVhsv(52, 83%, 56%)
CMYKcmyk(0%, 11.1%, 83.3%, 43.5%)
CIE-LABlab(53.42, -4.91, 53.32)
CIE-LCHlch(53.42, 53.54, 95.26°)
OKLaboklab(59.68% -0.0198 0.115)
OKLCHoklch(59.68% 0.117 99.8)
XYZxyz(19.3866, 21.4346, 3.9801)
Luminance0.2143 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908018 #182890
analogous
#904418 #908018 #649018
triadic
#908018 #189080 #801890
tetradic
#908018 #189044 #182890 #901864
square
#908018 #189044 #182890 #901864
split-complementary
#908018 #186490 #441890
monochromatic
#272307 #5C510F #908018 #C4AF21 #E0CB43

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##908018#FFFFFF#000000##000000
##9080181.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: #908018;
/* rgb */ color: rgb(144, 128, 24);
/* oklch */ color: oklch(59.7% 0.117 99.8);
Tailwind
colors: {
  custom: {
    50: '#b4a460',
    500: '#908018',
    950: '#000000',
  },
}
SCSS
$custom: #908018;
$custom-light: #b4a460;
$custom-dark: #000000;
JSON
{
  "hex": "#908018",
  "rgb": {
    "r": 144,
    "g": 128,
    "b": 24
  },
  "hsl": {
    "h": 52,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.59681,
    "c": 0.11666,
    "h": 99.8
  },
  "luminance": 0.21434
}

Semantic roles & 50–950 ramp

primary
#908018
secondary
#4354C0
accent
#52EE3A
background
#FBFAF5
surface
#F6F3EA
border
#D0CDC6
text
#120F05
muted
#817F79

Preview Lab

Preview with #908018

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

Preview Lab → · Contrast checker → · Palette generator →

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