#949C2F#949C2F

#949C2F is a light, vivid yellow. Relative luminance 0.303; OKLCH L 66.6% C 0.130 H 113.5°. Best body text is #000000 at 7.06:1 contrast (WCAG AA passes).

Color values

HEX#949C2F
RGBrgb(148, 156, 47)
HSLhsl(64, 54%, 40%)
HSVhsv(64, 70%, 61%)
CMYKcmyk(5.1%, 0%, 69.9%, 38.8%)
CIE-LABlab(61.89, -17.04, 53.29)
CIE-LCHlch(61.89, 55.95, 107.74°)
OKLaboklab(66.56% -0.0519 0.1191)
OKLCHoklch(66.56% 0.13 113.5)
XYZxyz(24.6150, 30.2786, 7.2364)
Luminance0.3028 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949C2F #372F9C
analogous
#9C6E2F #949C2F #5D9C2F
triadic
#949C2F #2F949C #9C2F94
tetradic
#949C2F #2F9C6E #372F9C #9C2F5D
square
#949C2F #2F9C6E #372F9C #9C2F5D
split-complementary
#949C2F #2F5D9C #6E2F9C
monochromatic
#3B3E13 #676D21 #949C2F #BCC642 #CDD471

Accessibility & contrast

On white

2.98
#949C2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#949C2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #949C2F
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##949C2F#FFFFFF#000000##000000
##949C2F1.002.987.067.06
#FFFFFF2.981.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8941E
Deuteranopia (green-blind)
#A79737
Tritanopia (blue-blind)
#9E9386
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #949c2f;
/* rgb */ color: rgb(148, 156, 47);
/* oklch */ color: oklch(66.6% 0.130 113.5);
Tailwind
colors: {
  custom: {
    50: '#b6b96f',
    500: '#949c2f',
    950: '#000000',
  },
}
SCSS
$custom: #949c2f;
$custom-light: #b6b96f;
$custom-dark: #000000;
JSON
{
  "hex": "#949c2f",
  "rgb": {
    "r": 148,
    "g": 156,
    "b": 47
  },
  "hsl": {
    "h": 64.404,
    "s": 53.695,
    "l": 39.804
  },
  "oklch": {
    "l": 0.66564,
    "c": 0.12994,
    "h": 113.5
  },
  "luminance": 0.30278
}

Semantic roles & 50–950 ramp

primary
#949C2F
secondary
#716BBC
accent
#4BDD55
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121108
muted
#81807B

Preview Lab

Preview with #949C2F

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

Preview Lab → · Contrast checker → · Palette generator →

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