#908E4F#908E4F

#908E4F is a light, moderate yellow. Relative luminance 0.258; OKLCH L 63.4% C 0.085 H 107.0°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).

Color values

HEX#908E4F
RGBrgb(144, 142, 79)
HSLhsl(58, 29%, 44%)
HSVhsv(58, 45%, 56%)
CMYKcmyk(0%, 1.4%, 45.1%, 43.5%)
CIE-LABlab(57.89, -8.77, 33.70)
CIE-LCHlch(57.89, 34.82, 104.59°)
OKLaboklab(63.39% -0.0248 0.081)
OKLCHoklch(63.39% 0.085 107)
XYZxyz(22.5863, 25.8404, 11.1935)
Luminance0.2584 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908E4F #4F5190
analogous
#906D4F #908E4F #71904F
triadic
#908E4F #4F908E #8E4F90
tetradic
#908E4F #4F906D #4F5190 #904F71
square
#908E4F #4F906D #4F5190 #904F71
split-complementary
#908E4F #4F7190 #6D4F90
monochromatic
#414024 #686739 #908E4F #AFAD6D #C5C395

Accessibility & contrast

On white

3.40
#908E4F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.17
#908E4F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #908E4F
6.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908E4F#FFFFFF#000000##000000
##908E4F1.003.406.176.17
#FFFFFF3.401.0021.0021.00
#0000006.1721.001.001.00
##0000006.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#978A4A
Deuteranopia (green-blind)
#998C52
Tritanopia (blue-blind)
#98877F
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #908e4f;
/* rgb */ color: rgb(144, 142, 79);
/* oklch */ color: oklch(63.4% 0.085 107.0);
Tailwind
colors: {
  custom: {
    50: '#b2ae81',
    500: '#908e4f',
    950: '#000000',
  },
}
SCSS
$custom: #908e4f;
$custom-light: #b2ae81;
$custom-dark: #000000;
JSON
{
  "hex": "#908e4f",
  "rgb": {
    "r": 144,
    "g": 142,
    "b": 79
  },
  "hsl": {
    "h": 58.154,
    "s": 29.148,
    "l": 43.725
  },
  "oklch": {
    "l": 0.63388,
    "c": 0.08474,
    "h": 107
  },
  "luminance": 0.2584
}

Semantic roles & 50–950 ramp

primary
#908E4F
secondary
#898BB1
accent
#65C562
background
#FBFAF8
surface
#F6F4EF
border
#D0CECA
text
#11100A
muted
#807F7C

Preview Lab

Preview with #908E4F

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

Preview Lab → · Contrast checker → · Palette generator →

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