#908D1B#908D1B

#908D1B is a light, vivid yellow. Relative luminance 0.251; OKLCH L 62.6% C 0.127 H 108.0°. Best body text is #000000 at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#908D1B
RGBrgb(144, 141, 27)
HSLhsl(58, 68%, 34%)
HSVhsv(58, 81%, 56%)
CMYKcmyk(0%, 2.1%, 81.3%, 43.5%)
CIE-LABlab(57.13, -11.88, 55.66)
CIE-LCHlch(57.13, 56.91, 102.05°)
OKLaboklab(62.64% -0.0391 0.1206)
OKLCHoklch(62.64% 0.127 108)
XYZxyz(21.2252, 25.0589, 4.7555)
Luminance0.2506 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908D1B #1B1E90
analogous
#90521B #908D1B #58901B
triadic
#908D1B #1B908D #8D1B90
tetradic
#908D1B #1B9052 #1B1E90 #901B58
square
#908D1B #1B9052 #1B1E90 #901B58
split-complementary
#908D1B #1B5890 #521B90
monochromatic
#292808 #5C5B11 #908D1B #C4BF25 #DDD949

Accessibility & contrast

On white

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

On black

6.01
#908D1B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #908D1B
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908D1B#FFFFFF#000000##000000
##908D1B1.003.496.016.01
#FFFFFF3.491.0021.0021.00
#0000006.0121.001.001.00
##0000006.0121.001.001.00

Color blindness preview

Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#9B8B25
Tritanopia (blue-blind)
#9B8378
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #908d1b;
/* rgb */ color: rgb(144, 141, 27);
/* oklch */ color: oklch(62.6% 0.127 108.0);
Tailwind
colors: {
  custom: {
    50: '#b4ae63',
    500: '#908d1b',
    950: '#000000',
  },
}
SCSS
$custom: #908d1b;
$custom-light: #b4ae63;
$custom-dark: #000000;
JSON
{
  "hex": "#908d1b",
  "rgb": {
    "r": 144,
    "g": 141,
    "b": 27
  },
  "hsl": {
    "h": 58.462,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.62639,
    "c": 0.12679,
    "h": 108
  },
  "luminance": 0.25058
}

Semantic roles & 50–950 ramp

primary
#908D1B
secondary
#484BBF
accent
#41EB3D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #908D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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