#948524#948524

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

Color values

HEX#948524
RGBrgb(148, 133, 36)
HSLhsl(52, 61%, 36%)
HSVhsv(52, 76%, 58%)
CMYKcmyk(0%, 10.1%, 75.7%, 42%)
CIE-LABlab(55.28, -5.34, 51.06)
CIE-LCHlch(55.28, 51.34, 95.97°)
OKLaboklab(61.27% -0.0201 0.1124)
OKLCHoklch(61.27% 0.114 100.1)
XYZxyz(20.9197, 23.1993, 5.0447)
Luminance0.2320 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948524 #243394
analogous
#944D24 #948524 #6B9424
triadic
#948524 #249485 #852494
tetradic
#948524 #24944D #243394 #94246B
square
#948524 #24944D #243394 #94246B
split-complementary
#948524 #246B94 #4D2494
monochromatic
#322D0C #635918 #948524 #C5B130 #D7C75B

Accessibility & contrast

On white

3.72
#948524 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##948524#FFFFFF#000000##000000
##9485241.003.725.645.64
#FFFFFF3.721.0021.0021.00
#0000005.6421.001.001.00
##0000005.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#928112
Deuteranopia (green-blind)
#96872B
Tritanopia (blue-blind)
#A07B72
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #948524;
/* rgb */ color: rgb(148, 133, 36);
/* oklch */ color: oklch(61.3% 0.114 100.1);
Tailwind
colors: {
  custom: {
    50: '#b7a866',
    500: '#948524',
    950: '#000000',
  },
}
SCSS
$custom: #948524;
$custom-light: #b7a866;
$custom-dark: #000000;
JSON
{
  "hex": "#948524",
  "rgb": {
    "r": 148,
    "g": 133,
    "b": 36
  },
  "hsl": {
    "h": 51.964,
    "s": 60.87,
    "l": 36.078
  },
  "oklch": {
    "l": 0.61265,
    "c": 0.1142,
    "h": 100.1
  },
  "luminance": 0.23198
}

Semantic roles & 50–950 ramp

primary
#948524
secondary
#5865BC
accent
#59E444
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #948524

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

Preview Lab → · Contrast checker → · Palette generator →

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