#949131#949131

#949131 is a light, moderate yellow. Relative luminance 0.268; OKLCH L 64.1% C 0.116 H 107.5°. Best body text is #000000 at 6.35:1 contrast (WCAG AA passes).

Color values

HEX#949131
RGBrgb(148, 145, 49)
HSLhsl(58, 50%, 39%)
HSVhsv(58, 67%, 58%)
CMYKcmyk(0%, 2%, 66.9%, 42%)
CIE-LABlab(58.76, -11.15, 49.29)
CIE-LCHlch(58.76, 50.53, 102.74°)
OKLaboklab(64.07% -0.0351 0.1111)
OKLCHoklch(64.07% 0.116 107.5)
XYZxyz(22.8933, 26.7692, 6.8662)
Luminance0.2677 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949131 #313494
analogous
#945F31 #949131 #659431
triadic
#949131 #319491 #913194
tetradic
#949131 #31945F #313494 #943165
square
#949131 #31945F #313494 #943165
split-complementary
#949131 #316594 #5F3194
monochromatic
#383713 #666422 #949131 #C0BD42 #D0CD70

Accessibility & contrast

On white

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

On black

6.35
#949131 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #949131
6.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##949131#FFFFFF#000000##000000
##9491311.003.316.356.35
#FFFFFF3.311.0021.0021.00
#0000006.3521.001.001.00
##0000006.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9D8B24
Deuteranopia (green-blind)
#9F8F37
Tritanopia (blue-blind)
#9F887D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #949131;
/* rgb */ color: rgb(148, 145, 49);
/* oklch */ color: oklch(64.1% 0.116 107.5);
Tailwind
colors: {
  custom: {
    50: '#b6b16f',
    500: '#949131',
    950: '#000000',
  },
}
SCSS
$custom: #949131;
$custom-light: #b6b16f;
$custom-dark: #000000;
JSON
{
  "hex": "#949131",
  "rgb": {
    "r": 148,
    "g": 145,
    "b": 49
  },
  "hsl": {
    "h": 58.182,
    "s": 50.254,
    "l": 38.627
  },
  "oklch": {
    "l": 0.64065,
    "c": 0.11647,
    "h": 107.5
  },
  "luminance": 0.26768
}

Semantic roles & 50–950 ramp

primary
#949131
secondary
#696CB7
accent
#52DA4E
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121008
muted
#817F7B

Preview Lab

Preview with #949131

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

Preview Lab → · Contrast checker → · Palette generator →

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