#949D3A#949D3A

#949D3A is a light, vivid yellow. Relative luminance 0.307; OKLCH L 66.9% C 0.123 H 114.1°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#949D3A
RGBrgb(148, 157, 58)
HSLhsl(65, 46%, 42%)
HSVhsv(65, 63%, 62%)
CMYKcmyk(5.7%, 0%, 63.1%, 38.4%)
CIE-LABlab(62.27, -16.85, 49.09)
CIE-LCHlch(62.27, 51.90, 108.95°)
OKLaboklab(66.89% -0.0502 0.112)
OKLCHoklch(66.89% 0.123 114.1)
XYZxyz(25.0340, 30.7158, 8.6121)
Luminance0.3071 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949D3A #433A9D
analogous
#9D753A #949D3A #629D3A
triadic
#949D3A #3A949D #9D3A94
tetradic
#949D3A #3A9D75 #433A9D #9D3A62
square
#949D3A #3A9D75 #433A9D #9D3A62
split-complementary
#949D3A #3A629D #753A9D
monochromatic
#404419 #6A7029 #949D3A #B6C054 #C9D081

Accessibility & contrast

On white

2.94
#949D3A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#949D3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #949D3A
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##949D3A#FFFFFF#000000##000000
##949D3A1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8962E
Deuteranopia (green-blind)
#A89740
Tritanopia (blue-blind)
#9D9488
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #949d3a;
/* rgb */ color: rgb(148, 157, 58);
/* oklch */ color: oklch(66.9% 0.123 114.1);
Tailwind
colors: {
  custom: {
    50: '#b6b975',
    500: '#949d3a',
    950: '#000000',
  },
}
SCSS
$custom: #949d3a;
$custom-light: #b6b975;
$custom-dark: #000000;
JSON
{
  "hex": "#949d3a",
  "rgb": {
    "r": 148,
    "g": 157,
    "b": 58
  },
  "hsl": {
    "h": 65.455,
    "s": 46.047,
    "l": 42.157
  },
  "oklch": {
    "l": 0.6689,
    "c": 0.12275,
    "h": 114.1
  },
  "luminance": 0.30715
}

Semantic roles & 50–950 ramp

primary
#949D3A
secondary
#7F79BA
accent
#52D65E
background
#FBFBF7
surface
#F6F6ED
border
#D0D0C8
text
#111109
muted
#80807B

Preview Lab

Preview with #949D3A

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

Preview Lab → · Contrast checker → · Palette generator →

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