#949C2A#949C2A

#949C2A 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#949C2A
RGBrgb(148, 156, 42)
HSLhsl(64, 58%, 39%)
HSVhsv(64, 73%, 61%)
CMYKcmyk(5.1%, 0%, 73.1%, 38.8%)
CIE-LABlab(61.86, -17.31, 55.15)
CIE-LCHlch(61.86, 57.80, 107.43°)
OKLaboklab(66.53% -0.0531 0.1222)
OKLCHoklch(66.53% 0.133 113.5)
XYZxyz(24.5199, 30.2405, 6.7354)
Luminance0.3024 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949C2A #322A9C
analogous
#9C6B2A #949C2A #5B9C2A
triadic
#949C2A #2A949C #9C2A94
tetradic
#949C2A #2A9C6B #322A9C #9C2A5B
square
#949C2A #2A9C6B #322A9C #9C2A5B
split-complementary
#949C2A #2A5B9C #6B2A9C
monochromatic
#393C10 #666C1D #949C2A #C0CA39 #CFD76A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##949C2A#FFFFFF#000000##000000
##949C2A1.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)
#A89414
Deuteranopia (green-blind)
#A89733
Tritanopia (blue-blind)
#9E9386
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #949c2a;
/* rgb */ color: rgb(148, 156, 42);
/* oklch */ color: oklch(66.5% 0.133 113.5);
Tailwind
colors: {
  custom: {
    50: '#b7b96c',
    500: '#949c2a',
    950: '#000000',
  },
}
SCSS
$custom: #949c2a;
$custom-light: #b7b96c;
$custom-dark: #000000;
JSON
{
  "hex": "#949c2a",
  "rgb": {
    "r": 148,
    "g": 156,
    "b": 42
  },
  "hsl": {
    "h": 64.211,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.66528,
    "c": 0.13323,
    "h": 113.5
  },
  "luminance": 0.3024
}

Semantic roles & 50–950 ramp

primary
#949C2A
secondary
#6B65BD
accent
#47E152
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #949C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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