#949D2E#949D2E

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

Color values

HEX#949D2E
RGBrgb(148, 157, 46)
HSLhsl(65, 55%, 40%)
HSVhsv(65, 71%, 62%)
CMYKcmyk(5.7%, 0%, 70.7%, 38.4%)
CIE-LABlab(62.17, -17.62, 53.95)
CIE-LCHlch(62.17, 56.76, 108.08°)
OKLaboklab(66.79% -0.0535 0.1204)
OKLCHoklch(66.79% 0.132 114)
XYZxyz(24.7635, 30.6076, 7.1876)
Luminance0.3061 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949D2E #372E9D
analogous
#9D6F2E #949D2E #5C9D2E
triadic
#949D2E #2E949D #9D2E94
tetradic
#949D2E #2E9D6F #372E9D #9D2E5C
square
#949D2E #2E9D6F #372E9D #9D2E5C
split-complementary
#949D2E #2E5C9D #6F2E9D
monochromatic
#3B3E12 #676E20 #949D2E #BCC741 #CDD570

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##949D2E#FFFFFF#000000##000000
##949D2E1.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)
#A9951C
Deuteranopia (green-blind)
#A89736
Tritanopia (blue-blind)
#9E9487
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #949d2e;
/* rgb */ color: rgb(148, 157, 46);
/* oklch */ color: oklch(66.8% 0.132 114.0);
Tailwind
colors: {
  custom: {
    50: '#b6b96e',
    500: '#949d2e',
    950: '#000000',
  },
}
SCSS
$custom: #949d2e;
$custom-light: #b6b96e;
$custom-dark: #000000;
JSON
{
  "hex": "#949d2e",
  "rgb": {
    "r": 148,
    "g": 157,
    "b": 46
  },
  "hsl": {
    "h": 64.865,
    "s": 54.68,
    "l": 39.804
  },
  "oklch": {
    "l": 0.66787,
    "c": 0.13175,
    "h": 114
  },
  "luminance": 0.30607
}

Semantic roles & 50–950 ramp

primary
#949D2E
secondary
#716ABD
accent
#4ADE56
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121108
muted
#81807B

Preview Lab

Preview with #949D2E

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

Preview Lab → · Contrast checker → · Palette generator →

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