#908228#908228

#908228 is a mid, moderate yellow. Relative luminance 0.220; OKLCH L 60.2% C 0.109 H 100.2°. Best body text is #000000 at 5.41:1 contrast (WCAG AA passes).

Color values

HEX#908228
RGBrgb(144, 130, 40)
HSLhsl(52, 57%, 36%)
HSVhsv(52, 72%, 56%)
CMYKcmyk(0%, 9.7%, 72.2%, 43.5%)
CIE-LABlab(54.08, -5.32, 48.19)
CIE-LCHlch(54.08, 48.48, 96.30°)
OKLaboklab(60.23% -0.0194 0.1073)
OKLCHoklch(60.23% 0.109 100.2)
XYZxyz(19.8681, 22.0487, 5.2164)
Luminance0.2205 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908228 #283690
analogous
#904E28 #908228 #6A9028
triadic
#908228 #289082 #822890
tetradic
#908228 #28904E #283690 #90286A
square
#908228 #28904E #283690 #90286A
split-complementary
#908228 #286A90 #4E2890
monochromatic
#302C0D #60571B #908228 #C0AD35 #D3C360

Accessibility & contrast

On white

3.88
#908228 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.41
#908228 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #908228
5.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908228#FFFFFF#000000##000000
##9082281.003.885.415.41
#FFFFFF3.881.0021.0021.00
#0000005.4121.001.001.00
##0000005.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#8F7E1A
Deuteranopia (green-blind)
#93842E
Tritanopia (blue-blind)
#9B7870
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #908228;
/* rgb */ color: rgb(144, 130, 40);
/* oklch */ color: oklch(60.2% 0.109 100.2);
Tailwind
colors: {
  custom: {
    50: '#b4a668',
    500: '#908228',
    950: '#000000',
  },
}
SCSS
$custom: #908228;
$custom-light: #b4a668;
$custom-dark: #000000;
JSON
{
  "hex": "#908228",
  "rgb": {
    "r": 144,
    "g": 130,
    "b": 40
  },
  "hsl": {
    "h": 51.923,
    "s": 56.522,
    "l": 36.078
  },
  "oklch": {
    "l": 0.60232,
    "c": 0.10901,
    "h": 100.2
  },
  "luminance": 0.22048
}

Semantic roles & 50–950 ramp

primary
#908228
secondary
#5C68B8
accent
#5CE048
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #908228

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

Preview Lab → · Contrast checker → · Palette generator →

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