#908D1E#908D1E

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

Color values

HEX#908D1E
RGBrgb(144, 141, 30)
HSLhsl(58, 66%, 34%)
HSVhsv(58, 79%, 56%)
CMYKcmyk(0%, 2.1%, 79.2%, 43.5%)
CIE-LABlab(57.15, -11.77, 54.75)
CIE-LCHlch(57.15, 56.00, 102.13°)
OKLaboklab(62.66% -0.0385 0.1192)
OKLCHoklch(62.66% 0.125 107.9)
XYZxyz(21.2617, 25.0735, 4.9477)
Luminance0.2507 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908D1E #1E2190
analogous
#90541E #908D1E #5A901E
triadic
#908D1E #1E908D #8D1E90
tetradic
#908D1E #1E9054 #1E2190 #901E5A
square
#908D1E #1E9054 #1E2190 #901E5A
split-complementary
#908D1E #1E5A90 #541E90
monochromatic
#2B2A09 #5D5B13 #908D1E #C3BF29 #DAD64E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##908D1E#FFFFFF#000000##000000
##908D1E1.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)
#9B8B27
Tritanopia (blue-blind)
#9B8378
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #908d1e;
/* rgb */ color: rgb(144, 141, 30);
/* oklch */ color: oklch(62.7% 0.125 107.9);
Tailwind
colors: {
  custom: {
    50: '#b4ae64',
    500: '#908d1e',
    950: '#000000',
  },
}
SCSS
$custom: #908d1e;
$custom-light: #b4ae64;
$custom-dark: #000000;
JSON
{
  "hex": "#908d1e",
  "rgb": {
    "r": 144,
    "g": 141,
    "b": 30
  },
  "hsl": {
    "h": 58.421,
    "s": 65.517,
    "l": 34.118
  },
  "oklch": {
    "l": 0.62655,
    "c": 0.12531,
    "h": 107.9
  },
  "luminance": 0.25073
}

Semantic roles & 50–950 ramp

primary
#908D1E
secondary
#4D50BD
accent
#44E83F
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #908D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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