#908C16#908C16

#908C16 is a light, vivid yellow. Relative luminance 0.247; OKLCH L 62.4% C 0.128 H 107.5°. Best body text is #000000 at 5.95:1 contrast (WCAG AA passes).

Color values

HEX#908C16
RGBrgb(144, 140, 22)
HSLhsl(58, 73%, 33%)
HSVhsv(58, 85%, 56%)
CMYKcmyk(0%, 2.8%, 84.7%, 43.5%)
CIE-LABlab(56.83, -11.51, 56.79)
CIE-LCHlch(56.83, 57.94, 101.46°)
OKLaboklab(62.39% -0.0384 0.1221)
OKLCHoklch(62.39% 0.128 107.5)
XYZxyz(21.0254, 24.7441, 4.4275)
Luminance0.2474 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908C16 #161A90
analogous
#904F16 #908C16 #579016
triadic
#908C16 #16908C #8C1690
tetradic
#908C16 #16904F #161A90 #901657
square
#908C16 #16904F #161A90 #901657
split-complementary
#908C16 #165790 #4F1690
monochromatic
#262506 #5B580E #908C16 #C5C01E #E2DC3F

Accessibility & contrast

On white

3.53
#908C16 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.95
#908C16 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #908C16
5.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908C16#FFFFFF#000000##000000
##908C161.003.535.955.95
#FFFFFF3.531.0021.0021.00
#0000005.9521.001.001.00
##0000005.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#998600
Deuteranopia (green-blind)
#9B8A22
Tritanopia (blue-blind)
#9B8277
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #908c16;
/* rgb */ color: rgb(144, 140, 22);
/* oklch */ color: oklch(62.4% 0.128 107.5);
Tailwind
colors: {
  custom: {
    50: '#b4ad61',
    500: '#908c16',
    950: '#000000',
  },
}
SCSS
$custom: #908c16;
$custom-light: #b4ad61;
$custom-dark: #000000;
JSON
{
  "hex": "#908c16",
  "rgb": {
    "r": 144,
    "g": 140,
    "b": 22
  },
  "hsl": {
    "h": 58.033,
    "s": 73.494,
    "l": 32.549
  },
  "oklch": {
    "l": 0.62387,
    "c": 0.12801,
    "h": 107.5
  },
  "luminance": 0.24743
}

Semantic roles & 50–950 ramp

primary
#908C16
secondary
#4044C2
accent
#3EF038
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121005
muted
#817F7A

Preview Lab

Preview with #908C16

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

Preview Lab → · Contrast checker → · Palette generator →

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