#949E20#949E20

#949E20 is a light, vivid yellow. Relative luminance 0.309; OKLCH L 66.9% C 0.141 H 114.3°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#949E20
RGBrgb(148, 158, 32)
HSLhsl(65, 66%, 37%)
HSVhsv(65, 80%, 62%)
CMYKcmyk(6.3%, 0%, 79.7%, 38%)
CIE-LABlab(62.38, -18.79, 58.95)
CIE-LCHlch(62.38, 61.87, 107.68°)
OKLaboklab(66.93% -0.058 0.1284)
OKLCHoklch(66.93% 0.141 114.3)
XYZxyz(24.7011, 30.8544, 6.0205)
Luminance0.3085 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949E20 #2A209E
analogous
#9E6920 #949E20 #559E20
triadic
#949E20 #20949E #9E2094
tetradic
#949E20 #209E69 #2A209E #9E2055
square
#949E20 #209E69 #2A209E #9E2055
split-complementary
#949E20 #20559E #69209E
monochromatic
#35380B #646B16 #949E20 #C4D12A #D3DE5B

Accessibility & contrast

On white

2.93
#949E20 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#949E20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #949E20
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##949E20#FFFFFF#000000##000000
##949E201.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9600
Deuteranopia (green-blind)
#AA982C
Tritanopia (blue-blind)
#9E9487
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #949e20;
/* rgb */ color: rgb(148, 158, 32);
/* oklch */ color: oklch(66.9% 0.141 114.3);
Tailwind
colors: {
  custom: {
    50: '#b7ba68',
    500: '#949e20',
    950: '#000000',
  },
}
SCSS
$custom: #949e20;
$custom-light: #b7ba68;
$custom-dark: #000000;
JSON
{
  "hex": "#949e20",
  "rgb": {
    "r": 148,
    "g": 158,
    "b": 32
  },
  "hsl": {
    "h": 64.762,
    "s": 66.316,
    "l": 37.255
  },
  "oklch": {
    "l": 0.6693,
    "c": 0.14095,
    "h": 114.3
  },
  "luminance": 0.30854
}

Semantic roles & 50–950 ramp

primary
#949E20
secondary
#6058C2
accent
#3FE94C
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #949E20

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

Preview Lab → · Contrast checker → · Palette generator →

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