#949A28#949A28

#949A28 is a light, vivid yellow. Relative luminance 0.296; OKLCH L 66.1% C 0.132 H 112.5°. Best body text is #000000 at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#949A28
RGBrgb(148, 154, 40)
HSLhsl(63, 59%, 38%)
HSVhsv(63, 74%, 60%)
CMYKcmyk(3.9%, 0%, 74%, 39.6%)
CIE-LABlab(61.27, -16.38, 55.30)
CIE-LCHlch(61.27, 57.68, 106.50°)
OKLaboklab(66.05% -0.0507 0.1222)
OKLCHoklch(66.05% 0.132 112.5)
XYZxyz(24.1521, 29.5609, 6.4406)
Luminance0.2956 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949A28 #2E289A
analogous
#9A6728 #949A28 #5B9A28
triadic
#949A28 #28949A #9A2894
tetradic
#949A28 #289A67 #2E289A #9A285B
square
#949A28 #289A67 #2E289A #9A285B
split-complementary
#949A28 #285B9A #67289A
monochromatic
#37390F #65691B #949A28 #C3CA35 #D1D765

Accessibility & contrast

On white

3.04
#949A28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.91
#949A28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #949A28
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##949A28#FFFFFF#000000##000000
##949A281.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69311
Deuteranopia (green-blind)
#A69531
Tritanopia (blue-blind)
#9E9084
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #949a28;
/* rgb */ color: rgb(148, 154, 40);
/* oklch */ color: oklch(66.1% 0.132 112.5);
Tailwind
colors: {
  custom: {
    50: '#b7b76b',
    500: '#949a28',
    950: '#000000',
  },
}
SCSS
$custom: #949a28;
$custom-light: #b7b76b;
$custom-dark: #000000;
JSON
{
  "hex": "#949a28",
  "rgb": {
    "r": 148,
    "g": 154,
    "b": 40
  },
  "hsl": {
    "h": 63.158,
    "s": 58.763,
    "l": 38.039
  },
  "oklch": {
    "l": 0.66053,
    "c": 0.13226,
    "h": 112.5
  },
  "luminance": 0.2956
}

Semantic roles & 50–950 ramp

primary
#949A28
secondary
#6661BD
accent
#46E24E
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #949A28

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

Preview Lab → · Contrast checker → · Palette generator →

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