#908E1B#908E1B

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

Color values

HEX#908E1B
RGBrgb(144, 142, 27)
HSLhsl(59, 68%, 34%)
HSVhsv(59, 81%, 56%)
CMYKcmyk(0%, 1.4%, 81.3%, 43.5%)
CIE-LABlab(57.42, -12.41, 55.91)
CIE-LCHlch(57.42, 57.27, 102.52°)
OKLaboklab(62.87% -0.0406 0.1212)
OKLCHoklch(62.87% 0.128 108.5)
XYZxyz(21.3733, 25.3551, 4.8049)
Luminance0.2535 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908E1B #1B1D90
analogous
#90531B #908E1B #57901B
triadic
#908E1B #1B908E #8E1B90
tetradic
#908E1B #1B9053 #1B1D90 #901B57
square
#908E1B #1B9053 #1B1D90 #901B57
split-complementary
#908E1B #1B5790 #531B90
monochromatic
#292808 #5C5B11 #908E1B #C4C125 #DDDA49

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##908E1B#FFFFFF#000000##000000
##908E1B1.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)
#9C8C25
Tritanopia (blue-blind)
#9B8479
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #908e1b;
/* rgb */ color: rgb(144, 142, 27);
/* oklch */ color: oklch(62.9% 0.128 108.5);
Tailwind
colors: {
  custom: {
    50: '#b4ae63',
    500: '#908e1b',
    950: '#000000',
  },
}
SCSS
$custom: #908e1b;
$custom-light: #b4ae63;
$custom-dark: #000000;
JSON
{
  "hex": "#908e1b",
  "rgb": {
    "r": 144,
    "g": 142,
    "b": 27
  },
  "hsl": {
    "h": 58.974,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.62868,
    "c": 0.12777,
    "h": 108.5
  },
  "luminance": 0.25354
}

Semantic roles & 50–950 ramp

primary
#908E1B
secondary
#484ABF
accent
#40EB3D
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #908E1B

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

Preview Lab → · Contrast checker → · Palette generator →

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