#948520#948520

#948520 is a mid, moderate yellow. Relative luminance 0.232; OKLCH L 61.2% C 0.117 H 100.4°. Best body text is #000000 at 5.64:1 contrast (WCAG AA passes).

Color values

HEX#948520
RGBrgb(148, 133, 32)
HSLhsl(52, 64%, 35%)
HSVhsv(52, 78%, 58%)
CMYKcmyk(0%, 10.1%, 78.4%, 42%)
CIE-LABlab(55.25, -5.52, 52.49)
CIE-LCHlch(55.25, 52.78, 96.00°)
OKLaboklab(61.24% -0.021 0.1147)
OKLCHoklch(61.24% 0.117 100.4)
XYZxyz(20.8620, 23.1762, 4.7408)
Luminance0.2318 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948520 #202F94
analogous
#944B20 #948520 #699420
triadic
#948520 #209485 #852094
tetradic
#948520 #20944B #202F94 #942069
square
#948520 #20944B #202F94 #942069
split-complementary
#948520 #206994 #4B2094
monochromatic
#2F2B0A #625815 #948520 #C6B22B #DAC954

Accessibility & contrast

On white

3.73
#948520 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.64
#948520 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #948520
5.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##948520#FFFFFF#000000##000000
##9485201.003.735.645.64
#FFFFFF3.731.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#928109
Deuteranopia (green-blind)
#978727
Tritanopia (blue-blind)
#A07B72
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #948520;
/* rgb */ color: rgb(148, 133, 32);
/* oklch */ color: oklch(61.2% 0.117 100.4);
Tailwind
colors: {
  custom: {
    50: '#b7a864',
    500: '#948520',
    950: '#000000',
  },
}
SCSS
$custom: #948520;
$custom-light: #b7a864;
$custom-dark: #000000;
JSON
{
  "hex": "#948520",
  "rgb": {
    "r": 148,
    "g": 133,
    "b": 32
  },
  "hsl": {
    "h": 52.241,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.61239,
    "c": 0.11656,
    "h": 100.4
  },
  "luminance": 0.23175
}

Semantic roles & 50–950 ramp

primary
#948520
secondary
#5260BE
accent
#56E740
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #948520

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

Preview Lab → · Contrast checker → · Palette generator →

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