#908128#908128

#908128 is a mid, moderate yellow. Relative luminance 0.218; OKLCH L 60.0% C 0.108 H 99.5°. Best body text is #000000 at 5.36:1 contrast (WCAG AA passes).

Color values

HEX#908128
RGBrgb(144, 129, 40)
HSLhsl(51, 57%, 36%)
HSVhsv(51, 72%, 56%)
CMYKcmyk(0%, 10.4%, 72.2%, 43.5%)
CIE-LABlab(53.80, -4.77, 47.91)
CIE-LCHlch(53.80, 48.14, 95.69°)
OKLaboklab(60.01% -0.0178 0.1067)
OKLCHoklch(60.01% 0.108 99.5)
XYZxyz(19.7358, 21.7839, 5.1722)
Luminance0.2178 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908128 #283790
analogous
#904D28 #908128 #6B9028
triadic
#908128 #289081 #812890
tetradic
#908128 #28904D #283790 #90286B
square
#908128 #28904D #283790 #90286B
split-complementary
#908128 #286B90 #4D2890
monochromatic
#302B0D #60561B #908128 #C0AC35 #D3C260

Accessibility & contrast

On white

3.92
#908128 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.36
#908128 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #908128
5.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908128#FFFFFF#000000##000000
##9081281.003.925.365.36
#FFFFFF3.921.0021.0021.00
#0000005.3621.001.001.00
##0000005.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7D1B
Deuteranopia (green-blind)
#92832D
Tritanopia (blue-blind)
#9B776F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #908128;
/* rgb */ color: rgb(144, 129, 40);
/* oklch */ color: oklch(60.0% 0.108 99.5);
Tailwind
colors: {
  custom: {
    50: '#b4a568',
    500: '#908128',
    950: '#000000',
  },
}
SCSS
$custom: #908128;
$custom-light: #b4a568;
$custom-dark: #000000;
JSON
{
  "hex": "#908128",
  "rgb": {
    "r": 144,
    "g": 129,
    "b": 40
  },
  "hsl": {
    "h": 51.346,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.60009,
    "c": 0.10816,
    "h": 99.5
  },
  "luminance": 0.21783
}

Semantic roles & 50–950 ramp

primary
#908128
secondary
#5C69B8
accent
#5EE048
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #908128

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

Preview Lab → · Contrast checker → · Palette generator →

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