#949126#949126

#949126 is a light, vivid yellow. Relative luminance 0.267; OKLCH L 64.0% C 0.124 H 107.8°. Best body text is #000000 at 6.34:1 contrast (WCAG AA passes).

Color values

HEX#949126
RGBrgb(148, 145, 38)
HSLhsl(58, 59%, 36%)
HSVhsv(58, 74%, 58%)
CMYKcmyk(0%, 2%, 74.3%, 42%)
CIE-LABlab(58.68, -11.75, 53.56)
CIE-LCHlch(58.68, 54.83, 102.37°)
OKLaboklab(63.98% -0.0379 0.1181)
OKLCHoklch(63.98% 0.124 107.8)
XYZxyz(22.6889, 26.6874, 5.7894)
Luminance0.2669 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949126 #262994
analogous
#945A26 #949126 #609426
triadic
#949126 #269491 #912694
tetradic
#949126 #26945A #262994 #942660
square
#949126 #26945A #262994 #942660
split-complementary
#949126 #266094 #5A2694
monochromatic
#33320D #636119 #949126 #C5C133 #D6D35F

Accessibility & contrast

On white

3.31
#949126 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.34
#949126 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #949126
6.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##949126#FFFFFF#000000##000000
##9491261.003.316.346.34
#FFFFFF3.311.0021.0021.00
#0000006.3421.001.001.00
##0000006.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B11
Deuteranopia (green-blind)
#9F8F2E
Tritanopia (blue-blind)
#9F877C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #949126;
/* rgb */ color: rgb(148, 145, 38);
/* oklch */ color: oklch(64.0% 0.124 107.8);
Tailwind
colors: {
  custom: {
    50: '#b7b169',
    500: '#949126',
    950: '#000000',
  },
}
SCSS
$custom: #949126;
$custom-light: #b7b169;
$custom-dark: #000000;
JSON
{
  "hex": "#949126",
  "rgb": {
    "r": 148,
    "g": 145,
    "b": 38
  },
  "hsl": {
    "h": 58.364,
    "s": 59.14,
    "l": 36.471
  },
  "oklch": {
    "l": 0.63979,
    "c": 0.12404,
    "h": 107.8
  },
  "luminance": 0.26687
}

Semantic roles & 50–950 ramp

primary
#949126
secondary
#5B5DBB
accent
#4AE245
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #949126

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

Preview Lab → · Contrast checker → · Palette generator →

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