#949D20#949D20

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

Color values

HEX#949D20
RGBrgb(148, 157, 32)
HSLhsl(64, 66%, 37%)
HSVhsv(64, 80%, 62%)
CMYKcmyk(5.7%, 0%, 79.6%, 38.4%)
CIE-LABlab(62.10, -18.28, 58.69)
CIE-LCHlch(62.10, 61.47, 107.30°)
OKLaboklab(66.7% -0.0566 0.1279)
OKLCHoklch(66.7% 0.14 113.9)
XYZxyz(24.5312, 30.5146, 5.9639)
Luminance0.3051 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949D20 #29209D
analogous
#9D6820 #949D20 #569D20
triadic
#949D20 #20949D #9D2094
tetradic
#949D20 #209D68 #29209D #9D2056
square
#949D20 #209D68 #29209D #9D2056
split-complementary
#949D20 #20569D #68209D
monochromatic
#34370B #646A16 #949D20 #C4D02A #D4DD5A

Accessibility & contrast

On white

2.96
#949D20 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#949D20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #949D20
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##949D20#FFFFFF#000000##000000
##949D201.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99500
Deuteranopia (green-blind)
#A9972C
Tritanopia (blue-blind)
#9E9386
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #949d20;
/* rgb */ color: rgb(148, 157, 32);
/* oklch */ color: oklch(66.7% 0.140 113.9);
Tailwind
colors: {
  custom: {
    50: '#b7b967',
    500: '#949d20',
    950: '#000000',
  },
}
SCSS
$custom: #949d20;
$custom-light: #b7b967;
$custom-dark: #000000;
JSON
{
  "hex": "#949d20",
  "rgb": {
    "r": 148,
    "g": 157,
    "b": 32
  },
  "hsl": {
    "h": 64.32,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.66699,
    "c": 0.13987,
    "h": 113.9
  },
  "luminance": 0.30514
}

Semantic roles & 50–950 ramp

primary
#949D20
secondary
#5F57C1
accent
#3FE94B
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #949D20

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

Preview Lab → · Contrast checker → · Palette generator →

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