#949A2C#949A2C

#949A2C 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#949A2C
RGBrgb(148, 154, 44)
HSLhsl(63, 56%, 39%)
HSVhsv(63, 71%, 60%)
CMYKcmyk(3.9%, 0%, 71.4%, 39.6%)
CIE-LABlab(61.30, -16.17, 53.85)
CIE-LCHlch(61.30, 56.23, 106.72°)
OKLaboklab(66.08% -0.0497 0.1198)
OKLCHoklch(66.08% 0.13 112.5)
XYZxyz(24.2237, 29.5895, 6.8177)
Luminance0.2959 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949A2C #322C9A
analogous
#9A692C #949A2C #5D9A2C
triadic
#949A2C #2C949A #9A2C94
tetradic
#949A2C #2C9A69 #322C9A #9A2C5D
square
#949A2C #2C9A69 #322C9A #9A2C5D
split-complementary
#949A2C #2C5D9A #692C9A
monochromatic
#393B11 #666A1E #949A2C #C0C73C #CFD56C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##949A2C#FFFFFF#000000##000000
##949A2C1.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)
#A69319
Deuteranopia (green-blind)
#A69534
Tritanopia (blue-blind)
#9E9184
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #949a2c;
/* rgb */ color: rgb(148, 154, 44);
/* oklch */ color: oklch(66.1% 0.130 112.5);
Tailwind
colors: {
  custom: {
    50: '#b6b76d',
    500: '#949a2c',
    950: '#000000',
  },
}
SCSS
$custom: #949a2c;
$custom-light: #b6b76d;
$custom-dark: #000000;
JSON
{
  "hex": "#949a2c",
  "rgb": {
    "r": 148,
    "g": 154,
    "b": 44
  },
  "hsl": {
    "h": 63.273,
    "s": 55.556,
    "l": 38.824
  },
  "oklch": {
    "l": 0.66081,
    "c": 0.12973,
    "h": 112.5
  },
  "luminance": 0.29589
}

Semantic roles & 50–950 ramp

primary
#949A2C
secondary
#6B66BC
accent
#49DF51
background
#FBFBF6
surface
#F6F6EC
border
#D0D0C7
text
#121107
muted
#81807A

Preview Lab

Preview with #949A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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