#949B2C#949B2C

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

Color values

HEX#949B2C
RGBrgb(148, 155, 44)
HSLhsl(64, 56%, 39%)
HSVhsv(64, 72%, 61%)
CMYKcmyk(4.5%, 0%, 71.6%, 39.2%)
CIE-LABlab(61.59, -16.69, 54.14)
CIE-LCHlch(61.59, 56.65, 107.14°)
OKLaboklab(66.31% -0.0512 0.1204)
OKLCHoklch(66.31% 0.131 113)
XYZxyz(24.3894, 29.9210, 6.8729)
Luminance0.2992 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949B2C #332C9B
analogous
#9B6B2C #949B2C #5D9B2C
triadic
#949B2C #2C949B #9B2C94
tetradic
#949B2C #2C9B6B #332C9B #9B2C5D
square
#949B2C #2C9B6B #332C9B #9B2C5D
split-complementary
#949B2C #2C5D9B #6B2C9B
monochromatic
#393C11 #666B1E #949B2C #BFC83C #CFD56C

Accessibility & contrast

On white

3.01
#949B2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.98
#949B2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #949B2C
6.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##949B2C#FFFFFF#000000##000000
##949B2C1.003.016.986.98
#FFFFFF3.011.0021.0021.00
#0000006.9821.001.001.00
##0000006.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79419
Deuteranopia (green-blind)
#A79635
Tritanopia (blue-blind)
#9E9285
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #949b2c;
/* rgb */ color: rgb(148, 155, 44);
/* oklch */ color: oklch(66.3% 0.131 113.0);
Tailwind
colors: {
  custom: {
    50: '#b6b86d',
    500: '#949b2c',
    950: '#000000',
  },
}
SCSS
$custom: #949b2c;
$custom-light: #b6b86d;
$custom-dark: #000000;
JSON
{
  "hex": "#949b2c",
  "rgb": {
    "r": 148,
    "g": 155,
    "b": 44
  },
  "hsl": {
    "h": 63.784,
    "s": 55.779,
    "l": 39.02
  },
  "oklch": {
    "l": 0.66311,
    "c": 0.13084,
    "h": 113
  },
  "luminance": 0.2992
}

Semantic roles & 50–950 ramp

primary
#949B2C
secondary
#6C67BC
accent
#49DF52
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #949B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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