#949C28#949C28

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

Color values

HEX#949C28
RGBrgb(148, 156, 40)
HSLhsl(64, 59%, 38%)
HSVhsv(64, 74%, 61%)
CMYKcmyk(5.1%, 0%, 74.4%, 38.8%)
CIE-LABlab(61.85, -17.41, 55.85)
CIE-LCHlch(61.85, 58.50, 107.32°)
OKLaboklab(66.51% -0.0536 0.1233)
OKLCHoklch(66.51% 0.134 113.5)
XYZxyz(24.4850, 30.2266, 6.5516)
Luminance0.3023 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949C28 #30289C
analogous
#9C6A28 #949C28 #5A9C28
triadic
#949C28 #28949C #9C2894
tetradic
#949C28 #289C6A #30289C #9C285A
square
#949C28 #289C6A #30289C #9C285A
split-complementary
#949C28 #285A9C #6A289C
monochromatic
#383B0F #666B1C #949C28 #C1CB36 #D0D867

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##949C28#FFFFFF#000000##000000
##949C281.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)
#A89410
Deuteranopia (green-blind)
#A89732
Tritanopia (blue-blind)
#9E9286
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #949c28;
/* rgb */ color: rgb(148, 156, 40);
/* oklch */ color: oklch(66.5% 0.134 113.5);
Tailwind
colors: {
  custom: {
    50: '#b7b96b',
    500: '#949c28',
    950: '#000000',
  },
}
SCSS
$custom: #949c28;
$custom-light: #b7b96b;
$custom-dark: #000000;
JSON
{
  "hex": "#949c28",
  "rgb": {
    "r": 148,
    "g": 156,
    "b": 40
  },
  "hsl": {
    "h": 64.138,
    "s": 59.184,
    "l": 38.431
  },
  "oklch": {
    "l": 0.66514,
    "c": 0.13445,
    "h": 113.5
  },
  "luminance": 0.30226
}

Semantic roles & 50–950 ramp

primary
#949C28
secondary
#6862BE
accent
#45E250
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #949C28

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

Preview Lab → · Contrast checker → · Palette generator →

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