#949B28#949B28

#949B28 is a light, vivid yellow. Relative luminance 0.299; OKLCH L 66.3% C 0.133 H 113.0°. Best body text is #000000 at 6.98:1 contrast (WCAG AA passes).

Color values

HEX#949B28
RGBrgb(148, 155, 40)
HSLhsl(64, 59%, 38%)
HSVhsv(64, 74%, 61%)
CMYKcmyk(4.5%, 0%, 74.2%, 39.2%)
CIE-LABlab(61.56, -16.90, 55.58)
CIE-LCHlch(61.56, 58.09, 106.91°)
OKLaboklab(66.28% -0.0521 0.1227)
OKLCHoklch(66.28% 0.133 113)
XYZxyz(24.3178, 29.8923, 6.4959)
Luminance0.2989 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949B28 #2F289B
analogous
#9B6828 #949B28 #5A9B28
triadic
#949B28 #28949B #9B2894
tetradic
#949B28 #289B68 #2F289B #9B285A
square
#949B28 #289B68 #2F289B #9B285A
split-complementary
#949B28 #285A9B #68289B
monochromatic
#373A0F #666A1B #949B28 #C2CB35 #D1D766

Accessibility & contrast

On white

3.01
#949B28 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#949B28 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #949B28
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##949B28#FFFFFF#000000##000000
##949B281.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79311
Deuteranopia (green-blind)
#A79631
Tritanopia (blue-blind)
#9E9185
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #949b28;
/* rgb */ color: rgb(148, 155, 40);
/* oklch */ color: oklch(66.3% 0.133 113.0);
Tailwind
colors: {
  custom: {
    50: '#b7b86b',
    500: '#949b28',
    950: '#000000',
  },
}
SCSS
$custom: #949b28;
$custom-light: #b7b86b;
$custom-dark: #000000;
JSON
{
  "hex": "#949b28",
  "rgb": {
    "r": 148,
    "g": 155,
    "b": 40
  },
  "hsl": {
    "h": 63.652,
    "s": 58.974,
    "l": 38.235
  },
  "oklch": {
    "l": 0.66283,
    "c": 0.13335,
    "h": 113
  },
  "luminance": 0.29892
}

Semantic roles & 50–950 ramp

primary
#949B28
secondary
#6761BD
accent
#46E24F
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #949B28

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

Preview Lab → · Contrast checker → · Palette generator →

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