#949D2C#949D2C

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

Color values

HEX#949D2C
RGBrgb(148, 157, 44)
HSLhsl(65, 56%, 39%)
HSVhsv(65, 72%, 62%)
CMYKcmyk(5.7%, 0%, 72%, 38.4%)
CIE-LABlab(62.16, -17.72, 54.70)
CIE-LCHlch(62.16, 57.50, 107.95°)
OKLaboklab(66.77% -0.054 0.1216)
OKLCHoklch(66.77% 0.133 114)
XYZxyz(24.7250, 30.5922, 6.9848)
Luminance0.3059 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949D2C #352C9D
analogous
#9D6E2C #949D2C #5C9D2C
triadic
#949D2C #2C949D #9D2C94
tetradic
#949D2C #2C9D6E #352C9D #9D2C5C
square
#949D2C #2C9D6E #352C9D #9D2C5C
split-complementary
#949D2C #2C5C9D #6E2C9D
monochromatic
#3A3D11 #676D1F #949D2C #BEC93D #CED66D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##949D2C#FFFFFF#000000##000000
##949D2C1.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)
#A99518
Deuteranopia (green-blind)
#A89735
Tritanopia (blue-blind)
#9E9487
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #949d2c;
/* rgb */ color: rgb(148, 157, 44);
/* oklch */ color: oklch(66.8% 0.133 114.0);
Tailwind
colors: {
  custom: {
    50: '#b7b96d',
    500: '#949d2c',
    950: '#000000',
  },
}
SCSS
$custom: #949d2c;
$custom-light: #b7b96d;
$custom-dark: #000000;
JSON
{
  "hex": "#949d2c",
  "rgb": {
    "r": 148,
    "g": 157,
    "b": 44
  },
  "hsl": {
    "h": 64.779,
    "s": 56.219,
    "l": 39.412
  },
  "oklch": {
    "l": 0.66773,
    "c": 0.13307,
    "h": 114
  },
  "luminance": 0.30592
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #949D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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