#908E1F#908E1F

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

Color values

HEX#908E1F
RGBrgb(144, 142, 31)
HSLhsl(59, 65%, 34%)
HSVhsv(59, 78%, 56%)
CMYKcmyk(0%, 1.4%, 78.5%, 43.5%)
CIE-LABlab(57.44, -12.26, 54.69)
CIE-LCHlch(57.44, 56.05, 102.64°)
OKLaboklab(62.89% -0.0398 0.1193)
OKLCHoklch(62.89% 0.126 108.5)
XYZxyz(21.4228, 25.3749, 5.0654)
Luminance0.2537 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908E1F #1F2190
analogous
#90561F #908E1F #5A901F
triadic
#908E1F #1F908E #8E1F90
tetradic
#908E1F #1F9056 #1F2190 #901F5A
square
#908E1F #1F9056 #1F2190 #901F5A
split-complementary
#908E1F #1F5A90 #561F90
monochromatic
#2B2B09 #5E5C14 #908E1F #C2C02A #D9D750

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##908E1F#FFFFFF#000000##000000
##908E1F1.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)
#9A8801
Deuteranopia (green-blind)
#9C8C28
Tritanopia (blue-blind)
#9B8479
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #908e1f;
/* rgb */ color: rgb(144, 142, 31);
/* oklch */ color: oklch(62.9% 0.126 108.5);
Tailwind
colors: {
  custom: {
    50: '#b4ae65',
    500: '#908e1f',
    950: '#000000',
  },
}
SCSS
$custom: #908e1f;
$custom-light: #b4ae65;
$custom-dark: #000000;
JSON
{
  "hex": "#908e1f",
  "rgb": {
    "r": 144,
    "g": 142,
    "b": 31
  },
  "hsl": {
    "h": 58.938,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.62889,
    "c": 0.12578,
    "h": 108.5
  },
  "luminance": 0.25374
}

Semantic roles & 50–950 ramp

primary
#908E1F
secondary
#4E50BC
accent
#43E840
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #908E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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