#908028#908028

#908028 is a mid, moderate yellow. Relative luminance 0.215; OKLCH L 59.8% C 0.107 H 98.7°. Best body text is #000000 at 5.30:1 contrast (WCAG AA passes).

Color values

HEX#908028
RGBrgb(144, 128, 40)
HSLhsl(51, 57%, 36%)
HSVhsv(51, 72%, 56%)
CMYKcmyk(0%, 11.1%, 72.2%, 43.5%)
CIE-LABlab(53.52, -4.21, 47.63)
CIE-LCHlch(53.52, 47.81, 95.06°)
OKLaboklab(59.79% -0.0162 0.1061)
OKLCHoklch(59.79% 0.107 98.7)
XYZxyz(19.6047, 21.5218, 5.1285)
Luminance0.2152 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908028 #283890
analogous
#904C28 #908028 #6C9028
triadic
#908028 #289080 #802890
tetradic
#908028 #28904C #283890 #90286C
square
#908028 #28904C #283890 #90286C
split-complementary
#908028 #286C90 #4C2890
monochromatic
#302B0D #60551B #908028 #C0AB35 #D3C160

Accessibility & contrast

On white

3.96
#908028 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.30
#908028 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #908028
5.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908028#FFFFFF#000000##000000
##9080281.003.965.305.30
#FFFFFF3.961.0021.0021.00
#0000005.3021.001.001.00
##0000005.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D1B
Deuteranopia (green-blind)
#91822D
Tritanopia (blue-blind)
#9B766E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #908028;
/* rgb */ color: rgb(144, 128, 40);
/* oklch */ color: oklch(59.8% 0.107 98.7);
Tailwind
colors: {
  custom: {
    50: '#b4a468',
    500: '#908028',
    950: '#000000',
  },
}
SCSS
$custom: #908028;
$custom-light: #b4a468;
$custom-dark: #000000;
JSON
{
  "hex": "#908028",
  "rgb": {
    "r": 144,
    "g": 128,
    "b": 40
  },
  "hsl": {
    "h": 50.769,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.59786,
    "c": 0.10732,
    "h": 98.7
  },
  "luminance": 0.21521
}

Semantic roles & 50–950 ramp

primary
#908028
secondary
#5C6AB8
accent
#5FE048
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #908028

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

Preview Lab → · Contrast checker → · Palette generator →

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