#948728#948728

#948728 is a mid, moderate yellow. Relative luminance 0.238; OKLCH L 61.7% C 0.113 H 101.3°. Best body text is #000000 at 5.76:1 contrast (WCAG AA passes).

Color values

HEX#948728
RGBrgb(148, 135, 40)
HSLhsl(53, 57%, 37%)
HSVhsv(53, 73%, 58%)
CMYKcmyk(0%, 8.8%, 73%, 42%)
CIE-LABlab(55.86, -6.25, 50.08)
CIE-LCHlch(55.86, 50.47, 97.11°)
OKLaboklab(61.74% -0.0222 0.1111)
OKLCHoklch(61.74% 0.113 101.3)
XYZxyz(21.2607, 23.7780, 5.4768)
Luminance0.2378 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948728 #283594
analogous
#945128 #948728 #6B9428
triadic
#948728 #289487 #872894
tetradic
#948728 #289451 #283594 #94286B
square
#948728 #289451 #283594 #94286B
split-complementary
#948728 #286B94 #512894
monochromatic
#342F0E #645B1B #948728 #C4B335 #D5C762

Accessibility & contrast

On white

3.65
#948728 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.76
#948728 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #948728
5.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##948728#FFFFFF#000000##000000
##9487281.003.655.765.76
#FFFFFF3.651.0021.0021.00
#0000005.7621.001.001.00
##0000005.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#948319
Deuteranopia (green-blind)
#98882E
Tritanopia (blue-blind)
#A07D74
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #948728;
/* rgb */ color: rgb(148, 135, 40);
/* oklch */ color: oklch(61.7% 0.113 101.3);
Tailwind
colors: {
  custom: {
    50: '#b7a969',
    500: '#948728',
    950: '#000000',
  },
}
SCSS
$custom: #948728;
$custom-light: #b7a969;
$custom-dark: #000000;
JSON
{
  "hex": "#948728",
  "rgb": {
    "r": 148,
    "g": 135,
    "b": 40
  },
  "hsl": {
    "h": 52.778,
    "s": 57.447,
    "l": 36.863
  },
  "oklch": {
    "l": 0.6174,
    "c": 0.11331,
    "h": 101.3
  },
  "luminance": 0.23777
}

Semantic roles & 50–950 ramp

primary
#948728
secondary
#5E69BA
accent
#5AE147
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F07
muted
#817F7A

Preview Lab

Preview with #948728

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

Preview Lab → · Contrast checker → · Palette generator →

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