#908126#908126

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

Color values

HEX#908126
RGBrgb(144, 129, 38)
HSLhsl(52, 58%, 36%)
HSVhsv(52, 74%, 56%)
CMYKcmyk(0%, 10.4%, 73.6%, 43.5%)
CIE-LABlab(53.78, -4.87, 48.71)
CIE-LCHlch(53.78, 48.95, 95.72°)
OKLaboklab(59.99% -0.0183 0.108)
OKLCHoklch(59.99% 0.11 99.6)
XYZxyz(19.7026, 21.7707, 4.9977)
Luminance0.2177 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#908126 #263590
analogous
#904C26 #908126 #6A9026
triadic
#908126 #269081 #812690
tetradic
#908126 #26904C #263590 #90266A
square
#908126 #26904C #263590 #90266A
split-complementary
#908126 #266A90 #4C2690
monochromatic
#2F2A0C #605619 #908126 #C0AC33 #D4C35C

Accessibility & contrast

On white

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

On black

5.35
#908126 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #908126
5.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##908126#FFFFFF#000000##000000
##9081261.003.925.355.35
#FFFFFF3.921.0021.0021.00
#0000005.3521.001.001.00
##0000005.3521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #908126;
/* rgb */ color: rgb(144, 129, 38);
/* oklch */ color: oklch(60.0% 0.110 99.6);
Tailwind
colors: {
  custom: {
    50: '#b4a567',
    500: '#908126',
    950: '#000000',
  },
}
SCSS
$custom: #908126;
$custom-light: #b4a567;
$custom-dark: #000000;
JSON
{
  "hex": "#908126",
  "rgb": {
    "r": 144,
    "g": 129,
    "b": 38
  },
  "hsl": {
    "h": 51.509,
    "s": 58.242,
    "l": 35.686
  },
  "oklch": {
    "l": 0.59993,
    "c": 0.10953,
    "h": 99.6
  },
  "luminance": 0.2177
}

Semantic roles & 50–950 ramp

primary
#908126
secondary
#5966B9
accent
#5CE146
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#110F06
muted
#807F7A

Preview Lab

Preview with #908126

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

Preview Lab → · Contrast checker → · Palette generator →

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