#908226#908226

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

Color values

HEX#908226
RGBrgb(144, 130, 38)
HSLhsl(52, 58%, 36%)
HSVhsv(52, 74%, 56%)
CMYKcmyk(0%, 9.7%, 73.6%, 43.5%)
CIE-LABlab(54.06, -5.43, 48.98)
CIE-LCHlch(54.06, 49.28, 96.32°)
OKLaboklab(60.22% -0.0199 0.1086)
OKLCHoklch(60.22% 0.11 100.4)
XYZxyz(19.8350, 22.0354, 5.0418)
Luminance0.2203 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908226 #263490
analogous
#904D26 #908226 #699026
triadic
#908226 #269082 #822690
tetradic
#908226 #26904D #263490 #902669
square
#908226 #26904D #263490 #902669
split-complementary
#908226 #266990 #4D2690
monochromatic
#2F2B0C #605619 #908226 #C0AE33 #D4C45C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##908226#FFFFFF#000000##000000
##9082261.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)
#8F7E17
Deuteranopia (green-blind)
#93842C
Tritanopia (blue-blind)
#9B7870
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #908226;
/* rgb */ color: rgb(144, 130, 38);
/* oklch */ color: oklch(60.2% 0.110 100.4);
Tailwind
colors: {
  custom: {
    50: '#b4a667',
    500: '#908226',
    950: '#000000',
  },
}
SCSS
$custom: #908226;
$custom-light: #b4a667;
$custom-dark: #000000;
JSON
{
  "hex": "#908226",
  "rgb": {
    "r": 144,
    "g": 130,
    "b": 38
  },
  "hsl": {
    "h": 52.075,
    "s": 58.242,
    "l": 35.686
  },
  "oklch": {
    "l": 0.60216,
    "c": 0.11038,
    "h": 100.4
  },
  "luminance": 0.22034
}

Semantic roles & 50–950 ramp

primary
#908226
secondary
#5965B9
accent
#5BE146
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #908226

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

Preview Lab → · Contrast checker → · Palette generator →

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