#949B20#949B20

#949B20 is a light, vivid yellow. Relative luminance 0.298; OKLCH L 66.2% C 0.138 H 113.0°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#949B20
RGBrgb(148, 155, 32)
HSLhsl(63, 66%, 37%)
HSVhsv(63, 79%, 61%)
CMYKcmyk(4.5%, 0%, 79.4%, 39.2%)
CIE-LABlab(61.52, -17.25, 58.18)
CIE-LCHlch(61.52, 60.68, 106.51°)
OKLaboklab(66.24% -0.0538 0.1268)
OKLCHoklch(66.24% 0.138 113)
XYZxyz(24.1956, 29.8434, 5.8520)
Luminance0.2984 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949B20 #27209B
analogous
#9B6520 #949B20 #579B20
triadic
#949B20 #20949B #9B2094
tetradic
#949B20 #209B65 #27209B #9B2057
square
#949B20 #209B65 #27209B #9B2057
split-complementary
#949B20 #20579B #65209B
monochromatic
#33360B #646816 #949B20 #C4CE2A #D5DD59

Accessibility & contrast

On white

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

On black

6.97
#949B20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #949B20
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##949B20#FFFFFF#000000##000000
##949B201.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79300
Deuteranopia (green-blind)
#A7962B
Tritanopia (blue-blind)
#9E9184
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #949b20;
/* rgb */ color: rgb(148, 155, 32);
/* oklch */ color: oklch(66.2% 0.138 113.0);
Tailwind
colors: {
  custom: {
    50: '#b7b867',
    500: '#949b20',
    950: '#000000',
  },
}
SCSS
$custom: #949b20;
$custom-light: #b7b867;
$custom-dark: #000000;
JSON
{
  "hex": "#949b20",
  "rgb": {
    "r": 148,
    "g": 155,
    "b": 32
  },
  "hsl": {
    "h": 63.415,
    "s": 65.775,
    "l": 36.667
  },
  "oklch": {
    "l": 0.66236,
    "c": 0.13773,
    "h": 113
  },
  "luminance": 0.29843
}

Semantic roles & 50–950 ramp

primary
#949B20
secondary
#5C56C1
accent
#3FE949
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #949B20

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

Preview Lab → · Contrast checker → · Palette generator →

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