#949248#949248

#949248 is a light, moderate yellow. Relative luminance 0.273; OKLCH L 64.5% C 0.097 H 107.4°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#949248
RGBrgb(148, 146, 72)
HSLhsl(58, 35%, 43%)
HSVhsv(58, 51%, 58%)
CMYKcmyk(0%, 1.4%, 51.4%, 42%)
CIE-LABlab(59.27, -9.91, 39.07)
CIE-LCHlch(59.27, 40.31, 104.23°)
OKLaboklab(64.55% -0.029 0.0923)
OKLCHoklch(64.55% 0.097 107.4)
XYZxyz(23.6619, 27.3222, 10.1569)
Luminance0.2732 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949248 #484A94
analogous
#946C48 #949248 #709448
triadic
#949248 #489492 #924894
tetradic
#949248 #48946C #484A94 #944870
square
#949248 #48946C #484A94 #944870
split-complementary
#949248 #487094 #6C4894
monochromatic
#424120 #6B6934 #949248 #B4B265 #C8C78E

Accessibility & contrast

On white

3.25
#949248 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#949248 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #949248
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##949248#FFFFFF#000000##000000
##9492481.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#9C8D41
Deuteranopia (green-blind)
#9E904C
Tritanopia (blue-blind)
#9D8A81
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #949248;
/* rgb */ color: rgb(148, 146, 72);
/* oklch */ color: oklch(64.5% 0.097 107.4);
Tailwind
colors: {
  custom: {
    50: '#b5b17d',
    500: '#949248',
    950: '#000000',
  },
}
SCSS
$custom: #949248;
$custom-light: #b5b17d;
$custom-dark: #000000;
JSON
{
  "hex": "#949248",
  "rgb": {
    "r": 148,
    "g": 146,
    "b": 72
  },
  "hsl": {
    "h": 58.421,
    "s": 34.545,
    "l": 43.137
  },
  "oklch": {
    "l": 0.64545,
    "c": 0.09669,
    "h": 107.4
  },
  "luminance": 0.27322
}

Semantic roles & 50–950 ramp

primary
#949248
secondary
#8485B4
accent
#60CB5D
background
#FBFAF7
surface
#F6F5EE
border
#D0CFC9
text
#11100A
muted
#807F7C

Preview Lab

Preview with #949248

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

Preview Lab → · Contrast checker → · Palette generator →

#949248 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva