#949D28#949D28

#949D28 is a light, vivid yellow. Relative luminance 0.306; OKLCH L 66.7% C 0.136 H 113.9°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#949D28
RGBrgb(148, 157, 40)
HSLhsl(65, 59%, 39%)
HSVhsv(65, 75%, 62%)
CMYKcmyk(5.7%, 0%, 74.5%, 38.4%)
CIE-LABlab(62.14, -17.93, 56.12)
CIE-LCHlch(62.14, 58.92, 107.71°)
OKLaboklab(66.75% -0.055 0.1239)
OKLCHoklch(66.75% 0.136 113.9)
XYZxyz(24.6534, 30.5635, 6.6077)
Luminance0.3056 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949D28 #31289D
analogous
#9D6B28 #949D28 #599D28
triadic
#949D28 #28949D #9D2894
tetradic
#949D28 #289D6B #31289D #9D2859
square
#949D28 #289D6B #31289D #9D2859
split-complementary
#949D28 #28599D #6B289D
monochromatic
#383B0F #666C1C #949D28 #C0CC36 #D0D867

Accessibility & contrast

On white

2.95
#949D28 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#949D28 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #949D28
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##949D28#FFFFFF#000000##000000
##949D281.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9950F
Deuteranopia (green-blind)
#A89732
Tritanopia (blue-blind)
#9E9387
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #949d28;
/* rgb */ color: rgb(148, 157, 40);
/* oklch */ color: oklch(66.7% 0.136 113.9);
Tailwind
colors: {
  custom: {
    50: '#b7b96b',
    500: '#949d28',
    950: '#000000',
  },
}
SCSS
$custom: #949d28;
$custom-light: #b7b96b;
$custom-dark: #000000;
JSON
{
  "hex": "#949d28",
  "rgb": {
    "r": 148,
    "g": 157,
    "b": 40
  },
  "hsl": {
    "h": 64.615,
    "s": 59.391,
    "l": 38.627
  },
  "oklch": {
    "l": 0.66745,
    "c": 0.13555,
    "h": 113.9
  },
  "luminance": 0.30563
}

Semantic roles & 50–950 ramp

primary
#949D28
secondary
#6962BE
accent
#45E351
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #949D28

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

Preview Lab → · Contrast checker → · Palette generator →

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