#949F20#949F20

#949F20 is a light, vivid yellow. Relative luminance 0.312; OKLCH L 67.2% C 0.142 H 114.7°. Best body text is #000000 at 7.24:1 contrast (WCAG AA passes).

Color values

HEX#949F20
RGBrgb(148, 159, 32)
HSLhsl(65, 66%, 37%)
HSVhsv(65, 80%, 62%)
CMYKcmyk(6.9%, 0%, 79.9%, 37.6%)
CIE-LABlab(62.67, -19.30, 59.21)
CIE-LCHlch(62.67, 62.27, 108.05°)
OKLaboklab(67.16% -0.0595 0.129)
OKLCHoklch(67.16% 0.142 114.7)
XYZxyz(24.8723, 31.1969, 6.0776)
Luminance0.3120 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949F20 #2B209F
analogous
#9F6B20 #949F20 #549F20
triadic
#949F20 #20949F #9F2094
tetradic
#949F20 #209F6B #2B209F #9F2054
square
#949F20 #209F6B #2B209F #9F2054
split-complementary
#949F20 #20549F #6B209F
monochromatic
#35390B #656C16 #949F20 #C3D22A #D3DE5B

Accessibility & contrast

On white

2.90
#949F20 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.24
#949F20 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #949F20
7.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##949F20#FFFFFF#000000##000000
##949F201.002.907.247.24
#FFFFFF2.901.0021.0021.00
#0000007.2421.001.001.00
##0000007.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9700
Deuteranopia (green-blind)
#AA992C
Tritanopia (blue-blind)
#9E9588
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #949f20;
/* rgb */ color: rgb(148, 159, 32);
/* oklch */ color: oklch(67.2% 0.142 114.7);
Tailwind
colors: {
  custom: {
    50: '#b7bb68',
    500: '#949f20',
    950: '#000000',
  },
}
SCSS
$custom: #949f20;
$custom-light: #b7bb68;
$custom-dark: #000000;
JSON
{
  "hex": "#949f20",
  "rgb": {
    "r": 148,
    "g": 159,
    "b": 32
  },
  "hsl": {
    "h": 65.197,
    "s": 66.492,
    "l": 37.451
  },
  "oklch": {
    "l": 0.67162,
    "c": 0.14203,
    "h": 114.7
  },
  "luminance": 0.31196
}

Semantic roles & 50–950 ramp

primary
#949F20
secondary
#6259C2
accent
#3EE94D
background
#FBFBF6
surface
#F6F6EB
border
#D0D0C6
text
#121107
muted
#81807A

Preview Lab

Preview with #949F20

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

Preview Lab → · Contrast checker → · Palette generator →

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