#908138#908138

#908138 is a mid, moderate yellow. Relative luminance 0.219; OKLCH L 60.2% C 0.095 H 97.8°. Best body text is #000000 at 5.38:1 contrast (WCAG AA passes).

Color values

HEX#908138
RGBrgb(144, 129, 56)
HSLhsl(50, 44%, 39%)
HSVhsv(50, 61%, 56%)
CMYKcmyk(0%, 10.4%, 61.1%, 43.5%)
CIE-LABlab(53.94, -3.73, 40.79)
CIE-LCHlch(53.94, 40.96, 95.23°)
OKLaboklab(60.17% -0.0129 0.0942)
OKLCHoklch(60.17% 0.095 97.8)
XYZxyz(20.0665, 21.9162, 6.9139)
Luminance0.2192 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908138 #384790
analogous
#905538 #908138 #739038
triadic
#908138 #389081 #813890
tetradic
#908138 #389055 #384790 #903873
square
#908138 #389055 #384790 #903873
split-complementary
#908138 #387390 #553890
monochromatic
#383216 #645A27 #908138 #B9A74C #CABC78

Accessibility & contrast

On white

3.90
#908138 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.38
#908138 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #908138
5.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908138#FFFFFF#000000##000000
##9081381.003.905.385.38
#FFFFFF3.901.0021.0021.00
#0000005.3821.001.001.00
##0000005.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7E30
Deuteranopia (green-blind)
#91833B
Tritanopia (blue-blind)
#9B7871
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #908138;
/* rgb */ color: rgb(144, 129, 56);
/* oklch */ color: oklch(60.2% 0.095 97.8);
Tailwind
colors: {
  custom: {
    50: '#b3a571',
    500: '#908138',
    950: '#000000',
  },
}
SCSS
$custom: #908138;
$custom-light: #b3a571;
$custom-dark: #000000;
JSON
{
  "hex": "#908138",
  "rgb": {
    "r": 144,
    "g": 129,
    "b": 56
  },
  "hsl": {
    "h": 49.773,
    "s": 44,
    "l": 39.216
  },
  "oklch": {
    "l": 0.60165,
    "c": 0.09509,
    "h": 97.8
  },
  "luminance": 0.21915
}

Semantic roles & 50–950 ramp

primary
#908138
secondary
#707CB4
accent
#6AD454
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#110F08
muted
#807F7B

Preview Lab

Preview with #908138

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

Preview Lab → · Contrast checker → · Palette generator →

#908138 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva