#949A31#949A31

#949A31 is a light, vivid yellow. Relative luminance 0.296; OKLCH L 66.1% C 0.126 H 112.6°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#949A31
RGBrgb(148, 154, 49)
HSLhsl(63, 52%, 40%)
HSVhsv(63, 68%, 60%)
CMYKcmyk(3.9%, 0%, 68.2%, 39.6%)
CIE-LABlab(61.33, -15.89, 51.93)
CIE-LCHlch(61.33, 54.30, 107.01°)
OKLaboklab(66.12% -0.0484 0.1166)
OKLCHoklch(66.12% 0.126 112.6)
XYZxyz(24.3234, 29.6294, 7.3429)
Luminance0.2963 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949A31 #37319A
analogous
#9A6C31 #949A31 #5F9A31
triadic
#949A31 #31949A #9A3194
tetradic
#949A31 #319A6C #37319A #9A315F
square
#949A31 #319A6C #37319A #9A315F
split-complementary
#949A31 #315F9A #6C319A
monochromatic
#3B3D13 #676C22 #949A31 #BCC445 #CDD273

Accessibility & contrast

On white

3.03
#949A31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#949A31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #949A31
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##949A31#FFFFFF#000000##000000
##949A311.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69322
Deuteranopia (green-blind)
#A69538
Tritanopia (blue-blind)
#9E9185
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #949a31;
/* rgb */ color: rgb(148, 154, 49);
/* oklch */ color: oklch(66.1% 0.126 112.6);
Tailwind
colors: {
  custom: {
    50: '#b6b76f',
    500: '#949a31',
    950: '#000000',
  },
}
SCSS
$custom: #949a31;
$custom-light: #b6b76f;
$custom-dark: #000000;
JSON
{
  "hex": "#949a31",
  "rgb": {
    "r": 148,
    "g": 154,
    "b": 49
  },
  "hsl": {
    "h": 63.429,
    "s": 51.724,
    "l": 39.804
  },
  "oklch": {
    "l": 0.6612,
    "c": 0.12627,
    "h": 112.6
  },
  "luminance": 0.29629
}

Semantic roles & 50–950 ramp

primary
#949A31
secondary
#716CBA
accent
#4DDB55
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121108
muted
#81807B

Preview Lab

Preview with #949A31

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

Preview Lab → · Contrast checker → · Palette generator →

#949A31 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva