#948420#948420

#948420 is a mid, moderate yellow. Relative luminance 0.229; OKLCH L 61.0% C 0.116 H 99.7°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#948420
RGBrgb(148, 132, 32)
HSLhsl(52, 64%, 35%)
HSVhsv(52, 78%, 58%)
CMYKcmyk(0%, 10.8%, 78.4%, 42%)
CIE-LABlab(54.97, -4.97, 52.23)
CIE-LCHlch(54.97, 52.47, 95.43°)
OKLaboklab(61.02% -0.0195 0.1141)
OKLCHoklch(61.02% 0.116 99.7)
XYZxyz(20.7257, 22.9037, 4.6954)
Luminance0.2290 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948420 #203094
analogous
#944A20 #948420 #6A9420
triadic
#948420 #209484 #842094
tetradic
#948420 #20944A #203094 #94206A
square
#948420 #20944A #203094 #94206A
split-complementary
#948420 #206A94 #4A2094
monochromatic
#2F2A0A #625715 #948420 #C6B12B #DAC854

Accessibility & contrast

On white

3.76
#948420 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#948420 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #948420
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##948420#FFFFFF#000000##000000
##9484201.003.765.585.58
#FFFFFF3.761.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#91800A
Deuteranopia (green-blind)
#968627
Tritanopia (blue-blind)
#A07A71
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #948420;
/* rgb */ color: rgb(148, 132, 32);
/* oklch */ color: oklch(61.0% 0.116 99.7);
Tailwind
colors: {
  custom: {
    50: '#b7a764',
    500: '#948420',
    950: '#000000',
  },
}
SCSS
$custom: #948420;
$custom-light: #b7a764;
$custom-dark: #000000;
JSON
{
  "hex": "#948420",
  "rgb": {
    "r": 148,
    "g": 132,
    "b": 32
  },
  "hsl": {
    "h": 51.724,
    "s": 64.444,
    "l": 35.294
  },
  "oklch": {
    "l": 0.61016,
    "c": 0.11575,
    "h": 99.7
  },
  "luminance": 0.22903
}

Semantic roles & 50–950 ramp

primary
#948420
secondary
#5261BE
accent
#57E740
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #948420

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

Preview Lab → · Contrast checker → · Palette generator →

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