#949B2A#949B2A

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

Color values

HEX#949B2A
RGBrgb(148, 155, 42)
HSLhsl(64, 57%, 39%)
HSVhsv(64, 73%, 61%)
CMYKcmyk(4.5%, 0%, 72.9%, 39.2%)
CIE-LABlab(61.57, -16.80, 54.87)
CIE-LCHlch(61.57, 57.38, 107.02°)
OKLaboklab(66.3% -0.0517 0.1216)
OKLCHoklch(66.3% 0.132 113)
XYZxyz(24.3527, 29.9063, 6.6797)
Luminance0.2991 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949B2A #312A9B
analogous
#9B692A #949B2A #5B9B2A
triadic
#949B2A #2A949B #9B2A94
tetradic
#949B2A #2A9B69 #312A9B #9B2A5B
square
#949B2A #2A9B69 #312A9B #9B2A5B
split-complementary
#949B2A #2A5B9B #692A9B
monochromatic
#383B10 #666B1D #949B2A #C0C939 #D0D669

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##949B2A#FFFFFF#000000##000000
##949B2A1.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)
#A79315
Deuteranopia (green-blind)
#A79633
Tritanopia (blue-blind)
#9E9285
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #949b2a;
/* rgb */ color: rgb(148, 155, 42);
/* oklch */ color: oklch(66.3% 0.132 113.0);
Tailwind
colors: {
  custom: {
    50: '#b7b86c',
    500: '#949b2a',
    950: '#000000',
  },
}
SCSS
$custom: #949b2a;
$custom-light: #b7b86c;
$custom-dark: #000000;
JSON
{
  "hex": "#949b2a",
  "rgb": {
    "r": 148,
    "g": 155,
    "b": 42
  },
  "hsl": {
    "h": 63.717,
    "s": 57.36,
    "l": 38.627
  },
  "oklch": {
    "l": 0.66297,
    "c": 0.13212,
    "h": 113
  },
  "luminance": 0.29906
}

Semantic roles & 50–950 ramp

primary
#949B2A
secondary
#6964BD
accent
#47E151
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #949B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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