#948320#948320

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

Color values

HEX#948320
RGBrgb(148, 131, 32)
HSLhsl(51, 64%, 35%)
HSVhsv(51, 78%, 58%)
CMYKcmyk(0%, 11.5%, 78.4%, 42%)
CIE-LABlab(54.69, -4.42, 51.97)
CIE-LCHlch(54.69, 52.16, 94.86°)
OKLaboklab(60.79% -0.0179 0.1136)
OKLCHoklch(60.79% 0.115 99)
XYZxyz(20.5908, 22.6338, 4.6504)
Luminance0.2263 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948320 #203194
analogous
#944920 #948320 #6B9420
triadic
#948320 #209483 #832094
tetradic
#948320 #209449 #203194 #94206B
square
#948320 #209449 #203194 #94206B
split-complementary
#948320 #206B94 #492094
monochromatic
#2F2A0A #625615 #948320 #C6B02B #DAC654

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##948320#FFFFFF#000000##000000
##9483201.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)
#917F0A
Deuteranopia (green-blind)
#958527
Tritanopia (blue-blind)
#A07970
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #948320;
/* rgb */ color: rgb(148, 131, 32);
/* oklch */ color: oklch(60.8% 0.115 99.0);
Tailwind
colors: {
  custom: {
    50: '#b7a664',
    500: '#948320',
    950: '#000000',
  },
}
SCSS
$custom: #948320;
$custom-light: #b7a664;
$custom-dark: #000000;
JSON
{
  "hex": "#948320",
  "rgb": {
    "r": 148,
    "g": 131,
    "b": 32
  },
  "hsl": {
    "h": 51.207,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.60794,
    "c": 0.11495,
    "h": 99
  },
  "luminance": 0.22633
}

Semantic roles & 50–950 ramp

primary
#948320
secondary
#5262BE
accent
#59E740
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #948320

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

Preview Lab → · Contrast checker → · Palette generator →

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