#908E1D#908E1D

#908E1D is a light, vivid yellow. Relative luminance 0.254; OKLCH L 62.9% C 0.127 H 108.5°. Best body text is #000000 at 6.07:1 contrast (WCAG AA passes).

Color values

HEX#908E1D
RGBrgb(144, 142, 29)
HSLhsl(59, 66%, 34%)
HSVhsv(59, 80%, 56%)
CMYKcmyk(0%, 1.4%, 79.9%, 43.5%)
CIE-LABlab(57.43, -12.34, 55.31)
CIE-LCHlch(57.43, 56.67, 102.58°)
OKLaboklab(62.88% -0.0402 0.1203)
OKLCHoklch(62.88% 0.127 108.5)
XYZxyz(21.3972, 25.3647, 4.9309)
Luminance0.2536 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908E1D #1D1F90
analogous
#90551D #908E1D #59901D
triadic
#908E1D #1D908E #8E1D90
tetradic
#908E1D #1D9055 #1D1F90 #901D59
square
#908E1D #1D9055 #1D1F90 #901D59
split-complementary
#908E1D #1D5990 #551D90
monochromatic
#2A2A08 #5D5C13 #908E1D #C3C027 #DBD94C

Accessibility & contrast

On white

3.46
#908E1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.07
#908E1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #908E1D
6.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908E1D#FFFFFF#000000##000000
##908E1D1.003.466.076.07
#FFFFFF3.461.0021.0021.00
#0000006.0721.001.001.00
##0000006.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#9A8800
Deuteranopia (green-blind)
#9C8C27
Tritanopia (blue-blind)
#9B8479
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #908e1d;
/* rgb */ color: rgb(144, 142, 29);
/* oklch */ color: oklch(62.9% 0.127 108.5);
Tailwind
colors: {
  custom: {
    50: '#b4ae64',
    500: '#908e1d',
    950: '#000000',
  },
}
SCSS
$custom: #908e1d;
$custom-light: #b4ae64;
$custom-dark: #000000;
JSON
{
  "hex": "#908e1d",
  "rgb": {
    "r": 144,
    "g": 142,
    "b": 29
  },
  "hsl": {
    "h": 58.957,
    "s": 66.474,
    "l": 33.922
  },
  "oklch": {
    "l": 0.62878,
    "c": 0.1268,
    "h": 108.5
  },
  "luminance": 0.25364
}

Semantic roles & 50–950 ramp

primary
#908E1D
secondary
#4B4DBD
accent
#41E93E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #908E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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