#948321#948321

#948321 is a mid, moderate yellow. Relative luminance 0.226; OKLCH L 60.8% C 0.114 H 98.9°. Best body text is #000000 at 5.53:1 contrast (WCAG AA passes).

Color values

HEX#948321
RGBrgb(148, 131, 33)
HSLhsl(51, 64%, 35%)
HSVhsv(51, 78%, 58%)
CMYKcmyk(0%, 11.5%, 77.7%, 42%)
CIE-LABlab(54.70, -4.37, 51.62)
CIE-LCHlch(54.70, 51.81, 94.84°)
OKLaboklab(60.8% -0.0177 0.113)
OKLCHoklch(60.8% 0.114 98.9)
XYZxyz(20.6046, 22.6393, 4.7231)
Luminance0.2264 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948321 #213294
analogous
#944921 #948321 #6C9421
triadic
#948321 #219483 #832194
tetradic
#948321 #219449 #213294 #94216C
square
#948321 #219449 #213294 #94216C
split-complementary
#948321 #216C94 #492194
monochromatic
#302A0B #625716 #948321 #C6AF2C #D9C656

Accessibility & contrast

On white

3.80
#948321 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.53
#948321 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #948321
5.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##948321#FFFFFF#000000##000000
##9483211.003.805.535.53
#FFFFFF3.801.0021.0021.00
#0000005.5321.001.001.00
##0000005.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F0D
Deuteranopia (green-blind)
#958528
Tritanopia (blue-blind)
#A07970
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #948321;
/* rgb */ color: rgb(148, 131, 33);
/* oklch */ color: oklch(60.8% 0.114 98.9);
Tailwind
colors: {
  custom: {
    50: '#b7a665',
    500: '#948321',
    950: '#000000',
  },
}
SCSS
$custom: #948321;
$custom-light: #b7a665;
$custom-dark: #000000;
JSON
{
  "hex": "#948321",
  "rgb": {
    "r": 148,
    "g": 131,
    "b": 33
  },
  "hsl": {
    "h": 51.13,
    "s": 63.536,
    "l": 35.49
  },
  "oklch": {
    "l": 0.608,
    "c": 0.11438,
    "h": 98.9
  },
  "luminance": 0.22638
}

Semantic roles & 50–950 ramp

primary
#948321
secondary
#5463BD
accent
#5AE741
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #948321

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

Preview Lab → · Contrast checker → · Palette generator →

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