#949B31#949B31

#949B31 is a light, vivid yellow. Relative luminance 0.300; OKLCH L 66.3% C 0.127 H 113.0°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#949B31
RGBrgb(148, 155, 49)
HSLhsl(64, 52%, 40%)
HSVhsv(64, 68%, 61%)
CMYKcmyk(4.5%, 0%, 68.4%, 39.2%)
CIE-LABlab(61.62, -16.41, 52.22)
CIE-LCHlch(61.62, 54.73, 107.44°)
OKLaboklab(66.35% -0.0499 0.1172)
OKLCHoklch(66.35% 0.127 113)
XYZxyz(24.4892, 29.9609, 7.3981)
Luminance0.2996 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949B31 #38319B
analogous
#9B6D31 #949B31 #5F9B31
triadic
#949B31 #31949B #9B3194
tetradic
#949B31 #319B6D #38319B #9B315F
square
#949B31 #319B6D #38319B #9B315F
split-complementary
#949B31 #315F9B #6D319B
monochromatic
#3B3E14 #686D22 #949B31 #BCC445 #CDD373

Accessibility & contrast

On white

3.00
#949B31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#949B31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #949B31
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##949B31#FFFFFF#000000##000000
##949B311.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69421
Deuteranopia (green-blind)
#A79639
Tritanopia (blue-blind)
#9E9286
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #949b31;
/* rgb */ color: rgb(148, 155, 49);
/* oklch */ color: oklch(66.3% 0.127 113.0);
Tailwind
colors: {
  custom: {
    50: '#b6b870',
    500: '#949b31',
    950: '#000000',
  },
}
SCSS
$custom: #949b31;
$custom-light: #b6b870;
$custom-dark: #000000;
JSON
{
  "hex": "#949b31",
  "rgb": {
    "r": 148,
    "g": 155,
    "b": 49
  },
  "hsl": {
    "h": 63.962,
    "s": 51.961,
    "l": 40
  },
  "oklch": {
    "l": 0.6635,
    "c": 0.1274,
    "h": 113
  },
  "luminance": 0.2996
}

Semantic roles & 50–950 ramp

primary
#949B31
secondary
#726DBB
accent
#4CDB56
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#121108
muted
#81807B

Preview Lab

Preview with #949B31

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

Preview Lab → · Contrast checker → · Palette generator →

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