#949D2F#949D2F

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

Color values

HEX#949D2F
RGBrgb(148, 157, 47)
HSLhsl(65, 54%, 40%)
HSVhsv(65, 70%, 62%)
CMYKcmyk(5.7%, 0%, 70.1%, 38.4%)
CIE-LABlab(62.18, -17.56, 53.57)
CIE-LCHlch(62.18, 56.38, 108.15°)
OKLaboklab(66.8% -0.0533 0.1198)
OKLCHoklch(66.8% 0.131 114)
XYZxyz(24.7835, 30.6156, 7.2926)
Luminance0.3061 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949D2F #382F9D
analogous
#9D6F2F #949D2F #5D9D2F
triadic
#949D2F #2F949D #9D2F94
tetradic
#949D2F #2F9D6F #382F9D #9D2F5D
square
#949D2F #2F9D6F #382F9D #9D2F5D
split-complementary
#949D2F #2F5D9D #6F2F9D
monochromatic
#3B3F13 #686E21 #949D2F #BCC743 #CDD572

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##949D2F#FFFFFF#000000##000000
##949D2F1.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)
#A9951D
Deuteranopia (green-blind)
#A89737
Tritanopia (blue-blind)
#9E9487
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #949d2f;
/* rgb */ color: rgb(148, 157, 47);
/* oklch */ color: oklch(66.8% 0.131 114.0);
Tailwind
colors: {
  custom: {
    50: '#b6b96f',
    500: '#949d2f',
    950: '#000000',
  },
}
SCSS
$custom: #949d2f;
$custom-light: #b6b96f;
$custom-dark: #000000;
JSON
{
  "hex": "#949d2f",
  "rgb": {
    "r": 148,
    "g": 157,
    "b": 47
  },
  "hsl": {
    "h": 64.909,
    "s": 53.922,
    "l": 40
  },
  "oklch": {
    "l": 0.66795,
    "c": 0.13108,
    "h": 114
  },
  "luminance": 0.30615
}

Semantic roles & 50–950 ramp

primary
#949D2F
secondary
#726BBC
accent
#4BDD57
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121108
muted
#81807B

Preview Lab

Preview with #949D2F

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

Preview Lab → · Contrast checker → · Palette generator →

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