#908038#908038

#908038 is a mid, moderate yellow. Relative luminance 0.217; OKLCH L 59.9% C 0.094 H 96.9°. Best body text is #000000 at 5.33:1 contrast (WCAG AA passes).

Color values

HEX#908038
RGBrgb(144, 128, 56)
HSLhsl(49, 44%, 39%)
HSVhsv(49, 61%, 56%)
CMYKcmyk(0%, 11.1%, 61.1%, 43.5%)
CIE-LABlab(53.66, -3.18, 40.48)
CIE-LCHlch(53.66, 40.60, 94.49°)
OKLaboklab(59.94% -0.0113 0.0935)
OKLCHoklch(59.94% 0.094 96.9)
XYZxyz(19.9354, 21.6541, 6.8702)
Luminance0.2165 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908038 #384890
analogous
#905438 #908038 #749038
triadic
#908038 #389080 #803890
tetradic
#908038 #389054 #384890 #903874
square
#908038 #389054 #384890 #903874
split-complementary
#908038 #387490 #543890
monochromatic
#383216 #645927 #908038 #B9A54C #CABB78

Accessibility & contrast

On white

3.94
#908038 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.33
#908038 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #908038
5.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908038#FFFFFF#000000##000000
##9080381.003.945.335.33
#FFFFFF3.941.0021.0021.00
#0000005.3321.001.001.00
##0000005.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7D31
Deuteranopia (green-blind)
#90833B
Tritanopia (blue-blind)
#9B7770
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #908038;
/* rgb */ color: rgb(144, 128, 56);
/* oklch */ color: oklch(59.9% 0.094 96.9);
Tailwind
colors: {
  custom: {
    50: '#b3a471',
    500: '#908038',
    950: '#000000',
  },
}
SCSS
$custom: #908038;
$custom-light: #b3a471;
$custom-dark: #000000;
JSON
{
  "hex": "#908038",
  "rgb": {
    "r": 144,
    "g": 128,
    "b": 56
  },
  "hsl": {
    "h": 49.091,
    "s": 44,
    "l": 39.216
  },
  "oklch": {
    "l": 0.59944,
    "c": 0.09421,
    "h": 96.9
  },
  "luminance": 0.21653
}

Semantic roles & 50–950 ramp

primary
#908038
secondary
#707DB4
accent
#6BD454
background
#FBFAF7
surface
#F6F4ED
border
#D0CEC8
text
#110F08
muted
#807F7B

Preview Lab

Preview with #908038

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

Preview Lab → · Contrast checker → · Palette generator →

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