#908B1E#908B1E

#908B1E 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#908B1E
RGBrgb(144, 139, 30)
HSLhsl(57, 66%, 34%)
HSVhsv(57, 79%, 56%)
CMYKcmyk(0%, 3.5%, 79.2%, 43.5%)
CIE-LABlab(56.57, -10.70, 54.23)
CIE-LCHlch(56.57, 55.27, 101.16°)
OKLaboklab(62.2% -0.0355 0.1181)
OKLCHoklch(62.2% 0.123 106.7)
XYZxyz(20.9694, 24.4890, 4.8503)
Luminance0.2449 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908B1E #1E2390
analogous
#90521E #908B1E #5C901E
triadic
#908B1E #1E908B #8B1E90
tetradic
#908B1E #1E9052 #1E2390 #901E5C
square
#908B1E #1E9052 #1E2390 #901E5C
split-complementary
#908B1E #1E5C90 #521E90
monochromatic
#2B2909 #5D5A13 #908B1E #C3BC29 #DAD44E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##908B1E#FFFFFF#000000##000000
##908B1E1.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)
#978501
Deuteranopia (green-blind)
#9A8A27
Tritanopia (blue-blind)
#9B8177
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #908b1e;
/* rgb */ color: rgb(144, 139, 30);
/* oklch */ color: oklch(62.2% 0.123 106.7);
Tailwind
colors: {
  custom: {
    50: '#b4ac64',
    500: '#908b1e',
    950: '#000000',
  },
}
SCSS
$custom: #908b1e;
$custom-light: #b4ac64;
$custom-dark: #000000;
JSON
{
  "hex": "#908b1e",
  "rgb": {
    "r": 144,
    "g": 139,
    "b": 30
  },
  "hsl": {
    "h": 57.368,
    "s": 65.517,
    "l": 34.118
  },
  "oklch": {
    "l": 0.62198,
    "c": 0.12337,
    "h": 106.7
  },
  "luminance": 0.24488
}

Semantic roles & 50–950 ramp

primary
#908B1E
secondary
#4D52BD
accent
#47E83F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #908B1E

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

Preview Lab → · Contrast checker → · Palette generator →

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