#949B2F#949B2F

#949B2F is a light, vivid yellow. Relative luminance 0.299; OKLCH L 66.3% C 0.129 H 113.0°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#949B2F
RGBrgb(148, 155, 47)
HSLhsl(64, 53%, 40%)
HSVhsv(64, 70%, 61%)
CMYKcmyk(4.5%, 0%, 69.7%, 39.2%)
CIE-LABlab(61.61, -16.53, 53.00)
CIE-LCHlch(61.61, 55.52, 107.32°)
OKLaboklab(66.33% -0.0504 0.1185)
OKLCHoklch(66.33% 0.129 113)
XYZxyz(24.4479, 29.9443, 7.1807)
Luminance0.2994 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949B2F #362F9B
analogous
#9B6C2F #949B2F #5E9B2F
triadic
#949B2F #2F949B #9B2F94
tetradic
#949B2F #2F9B6C #362F9B #9B2F5E
square
#949B2F #2F9B6C #362F9B #9B2F5E
split-complementary
#949B2F #2F5E9B #6C2F9B
monochromatic
#3A3D13 #676C21 #949B2F #BDC642 #CDD471

Accessibility & contrast

On white

3.00
#949B2F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#949B2F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #949B2F
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##949B2F#FFFFFF#000000##000000
##949B2F1.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A7941E
Deuteranopia (green-blind)
#A79637
Tritanopia (blue-blind)
#9E9286
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #949b2f;
/* rgb */ color: rgb(148, 155, 47);
/* oklch */ color: oklch(66.3% 0.129 113.0);
Tailwind
colors: {
  custom: {
    50: '#b6b86e',
    500: '#949b2f',
    950: '#000000',
  },
}
SCSS
$custom: #949b2f;
$custom-light: #b6b86e;
$custom-dark: #000000;
JSON
{
  "hex": "#949b2f",
  "rgb": {
    "r": 148,
    "g": 155,
    "b": 47
  },
  "hsl": {
    "h": 63.889,
    "s": 53.465,
    "l": 39.608
  },
  "oklch": {
    "l": 0.66334,
    "c": 0.12882,
    "h": 113
  },
  "luminance": 0.29944
}

Semantic roles & 50–950 ramp

primary
#949B2F
secondary
#706ABB
accent
#4BDD54
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121108
muted
#81807B

Preview Lab

Preview with #949B2F

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

Preview Lab → · Contrast checker → · Palette generator →

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