#949C2C#949C2C

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

Color values

HEX#949C2C
RGBrgb(148, 156, 44)
HSLhsl(64, 56%, 39%)
HSVhsv(64, 72%, 61%)
CMYKcmyk(5.1%, 0%, 71.8%, 38.8%)
CIE-LABlab(61.87, -17.21, 54.42)
CIE-LCHlch(61.87, 57.07, 107.55°)
OKLaboklab(66.54% -0.0526 0.121)
OKLCHoklch(66.54% 0.132 113.5)
XYZxyz(24.5566, 30.2552, 6.9286)
Luminance0.3025 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949C2C #342C9C
analogous
#9C6C2C #949C2C #5C9C2C
triadic
#949C2C #2C949C #9C2C94
tetradic
#949C2C #2C9C6C #342C9C #9C2C5C
square
#949C2C #2C9C6C #342C9C #9C2C5C
split-complementary
#949C2C #2C5C9C #6C2C9C
monochromatic
#393D11 #676C1F #949C2C #BEC83D #CED66D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##949C2C#FFFFFF#000000##000000
##949C2C1.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)
#A89418
Deuteranopia (green-blind)
#A89735
Tritanopia (blue-blind)
#9E9386
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #949c2c;
/* rgb */ color: rgb(148, 156, 44);
/* oklch */ color: oklch(66.5% 0.132 113.5);
Tailwind
colors: {
  custom: {
    50: '#b7b96d',
    500: '#949c2c',
    950: '#000000',
  },
}
SCSS
$custom: #949c2c;
$custom-light: #b7b96d;
$custom-dark: #000000;
JSON
{
  "hex": "#949c2c",
  "rgb": {
    "r": 148,
    "g": 156,
    "b": 44
  },
  "hsl": {
    "h": 64.286,
    "s": 56,
    "l": 39.216
  },
  "oklch": {
    "l": 0.66542,
    "c": 0.13196,
    "h": 113.5
  },
  "luminance": 0.30255
}

Semantic roles & 50–950 ramp

primary
#949C2C
secondary
#6D67BD
accent
#49DF53
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #949C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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