#908027#908027

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

Color values

HEX#908027
RGBrgb(144, 128, 39)
HSLhsl(51, 57%, 36%)
HSVhsv(51, 73%, 56%)
CMYKcmyk(0%, 11.1%, 72.9%, 43.5%)
CIE-LABlab(53.51, -4.27, 48.03)
CIE-LCHlch(53.51, 48.22, 95.08°)
OKLaboklab(59.78% -0.0165 0.1068)
OKLCHoklch(59.78% 0.108 98.8)
XYZxyz(19.5879, 21.5151, 5.0401)
Luminance0.2151 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908027 #273790
analogous
#904B27 #908027 #6B9027
triadic
#908027 #279080 #802790
tetradic
#908027 #27904B #273790 #90276B
square
#908027 #27904B #273790 #90276B
split-complementary
#908027 #276B90 #4B2790
monochromatic
#302A0D #60551A #908027 #C0AB34 #D3C25E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##908027#FFFFFF#000000##000000
##9080271.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)
#8D7D19
Deuteranopia (green-blind)
#91822C
Tritanopia (blue-blind)
#9B766E
Achromatopsia (no color)
#808080

Design tokens & code

CSS
--color: #908027;
/* rgb */ color: rgb(144, 128, 39);
/* oklch */ color: oklch(59.8% 0.108 98.8);
Tailwind
colors: {
  custom: {
    50: '#b4a467',
    500: '#908027',
    950: '#000000',
  },
}
SCSS
$custom: #908027;
$custom-light: #b4a467;
$custom-dark: #000000;
JSON
{
  "hex": "#908027",
  "rgb": {
    "r": 144,
    "g": 128,
    "b": 39
  },
  "hsl": {
    "h": 50.857,
    "s": 57.377,
    "l": 35.882
  },
  "oklch": {
    "l": 0.59778,
    "c": 0.10802,
    "h": 98.8
  },
  "luminance": 0.21514
}

Semantic roles & 50–950 ramp

primary
#908027
secondary
#5A69B9
accent
#5FE147
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #908027

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

Preview Lab → · Contrast checker → · Palette generator →

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