#949A2A#949A2A

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

Color values

HEX#949A2A
RGBrgb(148, 154, 42)
HSLhsl(63, 57%, 38%)
HSVhsv(63, 73%, 60%)
CMYKcmyk(3.9%, 0%, 72.7%, 39.6%)
CIE-LABlab(61.29, -16.28, 54.59)
CIE-LCHlch(61.29, 56.97, 106.61°)
OKLaboklab(66.07% -0.0502 0.121)
OKLCHoklch(66.07% 0.131 112.5)
XYZxyz(24.1870, 29.5748, 6.6244)
Luminance0.2957 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949A2A #302A9A
analogous
#9A682A #949A2A #5C9A2A
triadic
#949A2A #2A949A #9A2A94
tetradic
#949A2A #2A9A68 #302A9A #9A2A5C
square
#949A2A #2A9A68 #302A9A #9A2A5C
split-complementary
#949A2A #2A5C9A #682A9A
monochromatic
#383A10 #666A1D #949A2A #C1C938 #D0D668

Accessibility & contrast

On white

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

On black

6.91
#949A2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #949A2A
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##949A2A#FFFFFF#000000##000000
##949A2A1.003.046.916.91
#FFFFFF3.041.0021.0021.00
#0000006.9121.001.001.00
##0000006.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69315
Deuteranopia (green-blind)
#A69533
Tritanopia (blue-blind)
#9E9084
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #949a2a;
/* rgb */ color: rgb(148, 154, 42);
/* oklch */ color: oklch(66.1% 0.131 112.5);
Tailwind
colors: {
  custom: {
    50: '#b7b76c',
    500: '#949a2a',
    950: '#000000',
  },
}
SCSS
$custom: #949a2a;
$custom-light: #b7b76c;
$custom-dark: #000000;
JSON
{
  "hex": "#949a2a",
  "rgb": {
    "r": 148,
    "g": 154,
    "b": 42
  },
  "hsl": {
    "h": 63.214,
    "s": 57.143,
    "l": 38.431
  },
  "oklch": {
    "l": 0.66067,
    "c": 0.13103,
    "h": 112.5
  },
  "luminance": 0.29574
}

Semantic roles & 50–950 ramp

primary
#949A2A
secondary
#6863BC
accent
#47E050
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #949A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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