#948E4E#948E4E

#948E4E is a light, moderate yellow. Relative luminance 0.262; OKLCH L 63.7% C 0.086 H 103.8°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#948E4E
RGBrgb(148, 142, 78)
HSLhsl(55, 31%, 44%)
HSVhsv(55, 47%, 58%)
CMYKcmyk(0%, 4.1%, 47.3%, 42%)
CIE-LABlab(58.22, -7.16, 34.71)
CIE-LCHlch(58.22, 35.44, 101.65°)
OKLaboklab(63.73% -0.0204 0.0832)
OKLCHoklch(63.73% 0.086 103.8)
XYZxyz(23.2614, 26.1926, 11.0366)
Luminance0.2619 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948E4E #4E5494
analogous
#946B4E #948E4E #77944E
triadic
#948E4E #4E948E #8E4E94
tetradic
#948E4E #4E946B #4E5494 #944E77
square
#948E4E #4E946B #4E5494 #944E77
split-complementary
#948E4E #4E7794 #6B4E94
monochromatic
#444124 #6C6839 #948E4E #B2AC6D #C7C395

Accessibility & contrast

On white

3.37
#948E4E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#948E4E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #948E4E
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##948E4E#FFFFFF#000000##000000
##948E4E1.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#988A49
Deuteranopia (green-blind)
#9A8E51
Tritanopia (blue-blind)
#9D867F
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #948e4e;
/* rgb */ color: rgb(148, 142, 78);
/* oklch */ color: oklch(63.7% 0.086 103.8);
Tailwind
colors: {
  custom: {
    50: '#b5ae81',
    500: '#948e4e',
    950: '#000000',
  },
}
SCSS
$custom: #948e4e;
$custom-light: #b5ae81;
$custom-dark: #000000;
JSON
{
  "hex": "#948e4e",
  "rgb": {
    "r": 148,
    "g": 142,
    "b": 78
  },
  "hsl": {
    "h": 54.857,
    "s": 30.973,
    "l": 44.314
  },
  "oklch": {
    "l": 0.63734,
    "c": 0.08566,
    "h": 103.8
  },
  "luminance": 0.26192
}

Semantic roles & 50–950 ramp

primary
#948E4E
secondary
#8A8EB4
accent
#69C761
background
#FBFAF7
surface
#F6F4EE
border
#D0CEC9
text
#11100A
muted
#807F7C

Preview Lab

Preview with #948E4E

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

Preview Lab → · Contrast checker → · Palette generator →

#948E4E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva