#949A42#949A42

#949A42 is a light, moderate yellow. Relative luminance 0.298; OKLCH L 66.3% C 0.112 H 112.7°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#949A42
RGBrgb(148, 154, 66)
HSLhsl(64, 40%, 43%)
HSVhsv(64, 57%, 60%)
CMYKcmyk(3.9%, 0%, 57.1%, 39.6%)
CIE-LABlab(61.48, -14.68, 44.57)
CIE-LCHlch(61.48, 46.92, 108.23°)
OKLaboklab(66.29% -0.0432 0.1035)
OKLCHoklch(66.29% 0.112 112.7)
XYZxyz(24.7523, 29.8009, 9.6014)
Luminance0.2980 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949A42 #48429A
analogous
#9A7442 #949A42 #689A42
triadic
#949A42 #42949A #9A4294
tetradic
#949A42 #429A74 #48429A #9A4268
square
#949A42 #429A74 #48429A #9A4268
split-complementary
#949A42 #42689A #74429A
monochromatic
#42441D #6B6F30 #949A42 #B4BA5F #C8CD8A

Accessibility & contrast

On white

3.02
#949A42 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#949A42 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #949A42
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##949A42#FFFFFF#000000##000000
##949A421.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59339
Deuteranopia (green-blind)
#A59647
Tritanopia (blue-blind)
#9D9287
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #949a42;
/* rgb */ color: rgb(148, 154, 66);
/* oklch */ color: oklch(66.3% 0.112 112.7);
Tailwind
colors: {
  custom: {
    50: '#b5b77a',
    500: '#949a42',
    950: '#000000',
  },
}
SCSS
$custom: #949a42;
$custom-light: #b5b77a;
$custom-dark: #000000;
JSON
{
  "hex": "#949a42",
  "rgb": {
    "r": 148,
    "g": 154,
    "b": 66
  },
  "hsl": {
    "h": 64.091,
    "s": 40,
    "l": 43.137
  },
  "oklch": {
    "l": 0.66287,
    "c": 0.11212,
    "h": 112.7
  },
  "luminance": 0.298
}

Semantic roles & 50–950 ramp

primary
#949A42
secondary
#8480B8
accent
#58D060
background
#FBFBF7
surface
#F6F6EE
border
#D0D0C9
text
#111109
muted
#80807B

Preview Lab

Preview with #949A42

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

Preview Lab → · Contrast checker → · Palette generator →

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