#908B18#908B18

#908B18 is a light, vivid yellow. Relative luminance 0.245; OKLCH L 62.2% C 0.126 H 106.9°. Best body text is #000000 at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#908B18
RGBrgb(144, 139, 24)
HSLhsl(58, 71%, 33%)
HSVhsv(58, 83%, 56%)
CMYKcmyk(0%, 3.5%, 83.3%, 43.5%)
CIE-LABlab(56.55, -10.91, 56.01)
CIE-LCHlch(56.55, 57.06, 101.02°)
OKLaboklab(62.17% -0.0366 0.1208)
OKLCHoklch(62.17% 0.126 106.9)
XYZxyz(20.9000, 24.4613, 4.4846)
Luminance0.2446 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908B18 #181D90
analogous
#904F18 #908B18 #599018
triadic
#908B18 #18908B #8B1890
tetradic
#908B18 #18904F #181D90 #901859
square
#908B18 #18904F #181D90 #901859
split-complementary
#908B18 #185990 #4F1890
monochromatic
#272607 #5C580F #908B18 #C4BE21 #E0D943

Accessibility & contrast

On white

3.56
#908B18 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.89
#908B18 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #908B18
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908B18#FFFFFF#000000##000000
##908B181.003.565.895.89
#FFFFFF3.561.0021.0021.00
#0000005.8921.001.001.00
##0000005.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#988500
Deuteranopia (green-blind)
#9A8A23
Tritanopia (blue-blind)
#9B8176
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #908b18;
/* rgb */ color: rgb(144, 139, 24);
/* oklch */ color: oklch(62.2% 0.126 106.9);
Tailwind
colors: {
  custom: {
    50: '#b4ac62',
    500: '#908b18',
    950: '#000000',
  },
}
SCSS
$custom: #908b18;
$custom-light: #b4ac62;
$custom-dark: #000000;
JSON
{
  "hex": "#908b18",
  "rgb": {
    "r": 144,
    "g": 139,
    "b": 24
  },
  "hsl": {
    "h": 57.5,
    "s": 71.429,
    "l": 32.941
  },
  "oklch": {
    "l": 0.62167,
    "c": 0.12623,
    "h": 106.9
  },
  "luminance": 0.2446
}

Semantic roles & 50–950 ramp

primary
#908B18
secondary
#4349C0
accent
#41EE3A
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #908B18

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

Preview Lab → · Contrast checker → · Palette generator →

#908B18 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva