#949C20#949C20

#949C20 is a light, vivid yellow. Relative luminance 0.302; OKLCH L 66.5% C 0.139 H 113.4°. Best body text is #000000 at 7.04:1 contrast (WCAG AA passes).

Color values

HEX#949C20
RGBrgb(148, 156, 32)
HSLhsl(64, 66%, 37%)
HSVhsv(64, 79%, 61%)
CMYKcmyk(5.1%, 0%, 79.5%, 38.8%)
CIE-LABlab(61.81, -17.76, 58.44)
CIE-LCHlch(61.81, 61.08, 106.91°)
OKLaboklab(66.47% -0.0552 0.1273)
OKLCHoklch(66.47% 0.139 113.4)
XYZxyz(24.3627, 30.1777, 5.9077)
Luminance0.3018 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949C20 #28209C
analogous
#9C6620 #949C20 #569C20
triadic
#949C20 #20949C #9C2094
tetradic
#949C20 #209C66 #28209C #9C2056
square
#949C20 #209C66 #28209C #9C2056
split-complementary
#949C20 #20569C #66209C
monochromatic
#34360B #646916 #949C20 #C4CF2A #D5DD59

Accessibility & contrast

On white

2.98
#949C20 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.04
#949C20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #949C20
7.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##949C20#FFFFFF#000000##000000
##949C201.002.987.047.04
#FFFFFF2.981.0021.0021.00
#0000007.0421.001.001.00
##0000007.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89400
Deuteranopia (green-blind)
#A8962C
Tritanopia (blue-blind)
#9E9285
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #949c20;
/* rgb */ color: rgb(148, 156, 32);
/* oklch */ color: oklch(66.5% 0.139 113.4);
Tailwind
colors: {
  custom: {
    50: '#b7b967',
    500: '#949c20',
    950: '#000000',
  },
}
SCSS
$custom: #949c20;
$custom-light: #b7b967;
$custom-dark: #000000;
JSON
{
  "hex": "#949c20",
  "rgb": {
    "r": 148,
    "g": 156,
    "b": 32
  },
  "hsl": {
    "h": 63.871,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.66467,
    "c": 0.1388,
    "h": 113.4
  },
  "luminance": 0.30177
}

Semantic roles & 50–950 ramp

primary
#949C20
secondary
#5E57C1
accent
#3FE94A
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #949C20

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

Preview Lab → · Contrast checker → · Palette generator →

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