#908D1F#908D1F

#908D1F is a light, vivid yellow. Relative luminance 0.251; OKLCH L 62.7% C 0.125 H 107.9°. Best body text is #000000 at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#908D1F
RGBrgb(144, 141, 31)
HSLhsl(58, 65%, 34%)
HSVhsv(58, 78%, 56%)
CMYKcmyk(0%, 2.1%, 78.5%, 43.5%)
CIE-LABlab(57.15, -11.73, 54.43)
CIE-LCHlch(57.15, 55.68, 102.16°)
OKLaboklab(62.66% -0.0383 0.1188)
OKLCHoklch(62.66% 0.125 107.9)
XYZxyz(21.2746, 25.0787, 5.0161)
Luminance0.2508 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908D1F #1F2290
analogous
#90551F #908D1F #5B901F
triadic
#908D1F #1F908D #8D1F90
tetradic
#908D1F #1F9055 #1F2290 #901F5B
square
#908D1F #1F9055 #1F2290 #901F5B
split-complementary
#908D1F #1F5B90 #551F90
monochromatic
#2B2A09 #5E5C14 #908D1F #C2BE2A #D9D650

Accessibility & contrast

On white

3.49
#908D1F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.02
#908D1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #908D1F
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908D1F#FFFFFF#000000##000000
##908D1F1.003.496.026.02
#FFFFFF3.491.0021.0021.00
#0000006.0221.001.001.00
##0000006.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#998702
Deuteranopia (green-blind)
#9B8B28
Tritanopia (blue-blind)
#9B8379
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #908d1f;
/* rgb */ color: rgb(144, 141, 31);
/* oklch */ color: oklch(62.7% 0.125 107.9);
Tailwind
colors: {
  custom: {
    50: '#b4ae65',
    500: '#908d1f',
    950: '#000000',
  },
}
SCSS
$custom: #908d1f;
$custom-light: #b4ae65;
$custom-dark: #000000;
JSON
{
  "hex": "#908d1f",
  "rgb": {
    "r": 144,
    "g": 141,
    "b": 31
  },
  "hsl": {
    "h": 58.407,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.6266,
    "c": 0.12479,
    "h": 107.9
  },
  "luminance": 0.25078
}

Semantic roles & 50–950 ramp

primary
#908D1F
secondary
#4E51BC
accent
#45E840
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #908D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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