#949A2B#949A2B

#949A2B is a light, vivid yellow. Relative luminance 0.296; OKLCH L 66.1% C 0.130 H 112.5°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#949A2B
RGBrgb(148, 154, 43)
HSLhsl(63, 56%, 39%)
HSVhsv(63, 72%, 60%)
CMYKcmyk(3.9%, 0%, 72.1%, 39.6%)
CIE-LABlab(61.29, -16.23, 54.22)
CIE-LCHlch(61.29, 56.60, 106.66°)
OKLaboklab(66.07% -0.05 0.1204)
OKLCHoklch(66.07% 0.13 112.5)
XYZxyz(24.2051, 29.5821, 6.7199)
Luminance0.2958 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949A2B #312B9A
analogous
#9A682B #949A2B #5C9A2B
triadic
#949A2B #2B949A #9A2B94
tetradic
#949A2B #2B9A68 #312B9A #9A2B5C
square
#949A2B #2B9A68 #312B9A #9A2B5C
split-complementary
#949A2B #2B5C9A #682B9A
monochromatic
#383A10 #666A1E #949A2B #C0C83A #D0D56A

Accessibility & contrast

On white

3.04
#949A2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#949A2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #949A2B
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##949A2B#FFFFFF#000000##000000
##949A2B1.003.046.926.92
#FFFFFF3.041.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69317
Deuteranopia (green-blind)
#A69534
Tritanopia (blue-blind)
#9E9184
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #949a2b;
/* rgb */ color: rgb(148, 154, 43);
/* oklch */ color: oklch(66.1% 0.130 112.5);
Tailwind
colors: {
  custom: {
    50: '#b7b76c',
    500: '#949a2b',
    950: '#000000',
  },
}
SCSS
$custom: #949a2b;
$custom-light: #b7b76c;
$custom-dark: #000000;
JSON
{
  "hex": "#949a2b",
  "rgb": {
    "r": 148,
    "g": 154,
    "b": 43
  },
  "hsl": {
    "h": 63.243,
    "s": 56.345,
    "l": 38.627
  },
  "oklch": {
    "l": 0.66074,
    "c": 0.13038,
    "h": 112.5
  },
  "luminance": 0.29582
}

Semantic roles & 50–950 ramp

primary
#949A2B
secondary
#6965BC
accent
#48E050
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #949A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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