#948126#948126

#948126 is a mid, moderate yellow. Relative luminance 0.221; OKLCH L 60.4% C 0.110 H 97.0°. Best body text is #000000 at 5.43:1 contrast (WCAG AA passes).

Color values

HEX#948126
RGBrgb(148, 129, 38)
HSLhsl(50, 59%, 36%)
HSVhsv(50, 74%, 58%)
CMYKcmyk(0%, 12.8%, 74.3%, 42%)
CIE-LABlab(54.17, -3.03, 49.22)
CIE-LCHlch(54.17, 49.31, 93.53°)
OKLaboklab(60.39% -0.0133 0.1089)
OKLCHoklch(60.39% 0.11 97)
XYZxyz(20.4139, 22.1374, 5.0310)
Luminance0.2214 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948126 #263994
analogous
#944A26 #948126 #709426
triadic
#948126 #269481 #812694
tetradic
#948126 #26944A #263994 #942670
square
#948126 #26944A #263994 #942670
split-complementary
#948126 #267094 #4A2694
monochromatic
#332C0D #635719 #948126 #C5AB33 #D6C15F

Accessibility & contrast

On white

3.87
#948126 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.43
#948126 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #948126
5.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##948126#FFFFFF#000000##000000
##9481261.003.875.435.43
#FFFFFF3.871.0021.0021.00
#0000005.4321.001.001.00
##0000005.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#8E7E17
Deuteranopia (green-blind)
#93842C
Tritanopia (blue-blind)
#A0776F
Achromatopsia (no color)
#818181

Design tokens & code

CSS
--color: #948126;
/* rgb */ color: rgb(148, 129, 38);
/* oklch */ color: oklch(60.4% 0.110 97.0);
Tailwind
colors: {
  custom: {
    50: '#b7a567',
    500: '#948126',
    950: '#000000',
  },
}
SCSS
$custom: #948126;
$custom-light: #b7a567;
$custom-dark: #000000;
JSON
{
  "hex": "#948126",
  "rgb": {
    "r": 148,
    "g": 129,
    "b": 38
  },
  "hsl": {
    "h": 49.636,
    "s": 59.14,
    "l": 36.471
  },
  "oklch": {
    "l": 0.60393,
    "c": 0.10973,
    "h": 97
  },
  "luminance": 0.22136
}

Semantic roles & 50–950 ramp

primary
#948126
secondary
#5B6BBB
accent
#61E245
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #948126

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

Preview Lab → · Contrast checker → · Palette generator →

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