#949D2B#949D2B

#949D2B is a light, vivid yellow. Relative luminance 0.306; OKLCH L 66.8% C 0.134 H 114.0°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#949D2B
RGBrgb(148, 157, 43)
HSLhsl(65, 57%, 39%)
HSVhsv(65, 73%, 62%)
CMYKcmyk(5.7%, 0%, 72.6%, 38.4%)
CIE-LABlab(62.16, -17.78, 55.06)
CIE-LCHlch(62.16, 57.86, 107.89°)
OKLaboklab(66.77% -0.0543 0.1222)
OKLCHoklch(66.77% 0.134 114)
XYZxyz(24.7065, 30.5847, 6.8870)
Luminance0.3058 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949D2B #342B9D
analogous
#9D6D2B #949D2B #5B9D2B
triadic
#949D2B #2B949D #9D2B94
tetradic
#949D2B #2B9D6D #342B9D #9D2B5B
square
#949D2B #2B9D6D #342B9D #9D2B5B
split-complementary
#949D2B #2B5B9D #6D2B9D
monochromatic
#393D11 #676D1E #949D2B #BECA3C #CED76C

Accessibility & contrast

On white

2.95
#949D2B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#949D2B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #949D2B
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##949D2B#FFFFFF#000000##000000
##949D2B1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99516
Deuteranopia (green-blind)
#A89734
Tritanopia (blue-blind)
#9E9487
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #949d2b;
/* rgb */ color: rgb(148, 157, 43);
/* oklch */ color: oklch(66.8% 0.134 114.0);
Tailwind
colors: {
  custom: {
    50: '#b7b96d',
    500: '#949d2b',
    950: '#000000',
  },
}
SCSS
$custom: #949d2b;
$custom-light: #b7b96d;
$custom-dark: #000000;
JSON
{
  "hex": "#949d2b",
  "rgb": {
    "r": 148,
    "g": 157,
    "b": 43
  },
  "hsl": {
    "h": 64.737,
    "s": 57,
    "l": 39.216
  },
  "oklch": {
    "l": 0.66765,
    "c": 0.13371,
    "h": 114
  },
  "luminance": 0.30584
}

Semantic roles & 50–950 ramp

primary
#949D2B
secondary
#6D66BD
accent
#48E054
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #949D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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