#949B2B#949B2B

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

Color values

HEX#949B2B
RGBrgb(148, 155, 43)
HSLhsl(64, 57%, 39%)
HSVhsv(64, 72%, 61%)
CMYKcmyk(4.5%, 0%, 72.3%, 39.2%)
CIE-LABlab(61.58, -16.75, 54.50)
CIE-LCHlch(61.58, 57.02, 107.08°)
OKLaboklab(66.3% -0.0514 0.121)
OKLCHoklch(66.3% 0.131 113)
XYZxyz(24.3709, 29.9135, 6.7751)
Luminance0.2991 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949B2B #322B9B
analogous
#9B6A2B #949B2B #5C9B2B
triadic
#949B2B #2B949B #9B2B94
tetradic
#949B2B #2B9B6A #322B9B #9B2B5C
square
#949B2B #2B9B6A #322B9B #9B2B5C
split-complementary
#949B2B #2B5C9B #6A2B9B
monochromatic
#393B10 #666B1E #949B2B #C0C93B #CFD66B

Accessibility & contrast

On white

3.01
#949B2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#949B2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #949B2B
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##949B2B#FFFFFF#000000##000000
##949B2B1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79417
Deuteranopia (green-blind)
#A79634
Tritanopia (blue-blind)
#9E9285
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #949b2b;
/* rgb */ color: rgb(148, 155, 43);
/* oklch */ color: oklch(66.3% 0.131 113.0);
Tailwind
colors: {
  custom: {
    50: '#b7b86c',
    500: '#949b2b',
    950: '#000000',
  },
}
SCSS
$custom: #949b2b;
$custom-light: #b7b86c;
$custom-dark: #000000;
JSON
{
  "hex": "#949b2b",
  "rgb": {
    "r": 148,
    "g": 155,
    "b": 43
  },
  "hsl": {
    "h": 63.75,
    "s": 56.566,
    "l": 38.824
  },
  "oklch": {
    "l": 0.66304,
    "c": 0.13148,
    "h": 113
  },
  "luminance": 0.29913
}

Semantic roles & 50–950 ramp

primary
#949B2B
secondary
#6B65BC
accent
#48E051
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #949B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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