#908B1F#908B1F

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

Color values

HEX#908B1F
RGBrgb(144, 139, 31)
HSLhsl(57, 65%, 34%)
HSVhsv(57, 78%, 56%)
CMYKcmyk(0%, 3.5%, 78.5%, 43.5%)
CIE-LABlab(56.58, -10.65, 53.91)
CIE-LCHlch(56.58, 54.95, 101.18°)
OKLaboklab(62.2% -0.0353 0.1177)
OKLCHoklch(62.2% 0.123 106.7)
XYZxyz(20.9824, 24.4942, 4.9187)
Luminance0.2449 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908B1F #1F2490
analogous
#90531F #908B1F #5D901F
triadic
#908B1F #1F908B #8B1F90
tetradic
#908B1F #1F9053 #1F2490 #901F5D
square
#908B1F #1F9053 #1F2490 #901F5D
split-complementary
#908B1F #1F5D90 #531F90
monochromatic
#2B2A09 #5E5A14 #908B1F #C2BC2A #D9D350

Accessibility & contrast

On white

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

On black

5.90
#908B1F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #908B1F
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908B1F#FFFFFF#000000##000000
##908B1F1.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#978503
Deuteranopia (green-blind)
#9A8A28
Tritanopia (blue-blind)
#9B8177
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #908b1f;
/* rgb */ color: rgb(144, 139, 31);
/* oklch */ color: oklch(62.2% 0.123 106.7);
Tailwind
colors: {
  custom: {
    50: '#b4ac65',
    500: '#908b1f',
    950: '#000000',
  },
}
SCSS
$custom: #908b1f;
$custom-light: #b4ac65;
$custom-dark: #000000;
JSON
{
  "hex": "#908b1f",
  "rgb": {
    "r": 144,
    "g": 139,
    "b": 31
  },
  "hsl": {
    "h": 57.345,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.62203,
    "c": 0.12284,
    "h": 106.7
  },
  "luminance": 0.24493
}

Semantic roles & 50–950 ramp

primary
#908B1F
secondary
#4E53BC
accent
#48E840
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #908B1F

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

Preview Lab → · Contrast checker → · Palette generator →

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