#949C2B#949C2B

#949C2B is a light, vivid yellow. Relative luminance 0.302; OKLCH L 66.5% C 0.133 H 113.5°. Best body text is #000000 at 7.05:1 contrast (WCAG AA passes).

Color values

HEX#949C2B
RGBrgb(148, 156, 43)
HSLhsl(64, 57%, 39%)
HSVhsv(64, 72%, 61%)
CMYKcmyk(5.1%, 0%, 72.4%, 38.8%)
CIE-LABlab(61.87, -17.26, 54.78)
CIE-LCHlch(61.87, 57.44, 107.49°)
OKLaboklab(66.54% -0.0529 0.1216)
OKLCHoklch(66.54% 0.133 113.5)
XYZxyz(24.5380, 30.2478, 6.8308)
Luminance0.3025 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949C2B #332B9C
analogous
#9C6C2B #949C2B #5C9C2B
triadic
#949C2B #2B949C #9C2B94
tetradic
#949C2B #2B9C6C #332B9C #9C2B5C
square
#949C2B #2B9C6C #332B9C #9C2B5C
split-complementary
#949C2B #2B5C9C #6C2B9C
monochromatic
#393C11 #666C1E #949C2B #BFC93B #CFD66B

Accessibility & contrast

On white

2.98
#949C2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.05
#949C2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #949C2B
7.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##949C2B#FFFFFF#000000##000000
##949C2B1.002.987.057.05
#FFFFFF2.981.0021.0021.00
#0000007.0521.001.001.00
##0000007.0521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89416
Deuteranopia (green-blind)
#A89734
Tritanopia (blue-blind)
#9E9386
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #949c2b;
/* rgb */ color: rgb(148, 156, 43);
/* oklch */ color: oklch(66.5% 0.133 113.5);
Tailwind
colors: {
  custom: {
    50: '#b7b96c',
    500: '#949c2b',
    950: '#000000',
  },
}
SCSS
$custom: #949c2b;
$custom-light: #b7b96c;
$custom-dark: #000000;
JSON
{
  "hex": "#949c2b",
  "rgb": {
    "r": 148,
    "g": 156,
    "b": 43
  },
  "hsl": {
    "h": 64.248,
    "s": 56.784,
    "l": 39.02
  },
  "oklch": {
    "l": 0.66535,
    "c": 0.13259,
    "h": 113.5
  },
  "luminance": 0.30247
}

Semantic roles & 50–950 ramp

primary
#949C2B
secondary
#6C66BD
accent
#48E053
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #949C2B

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

Preview Lab → · Contrast checker → · Palette generator →

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