#948525#948525

#948525 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#948525
RGBrgb(148, 133, 37)
HSLhsl(52, 60%, 36%)
HSVhsv(52, 75%, 58%)
CMYKcmyk(0%, 10.1%, 75%, 42%)
CIE-LABlab(55.28, -5.30, 50.68)
CIE-LCHlch(55.28, 50.96, 95.97°)
OKLaboklab(61.27% -0.0199 0.1118)
OKLCHoklch(61.27% 0.114 100.1)
XYZxyz(20.9352, 23.2055, 5.1263)
Luminance0.2321 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948525 #253494
analogous
#944E25 #948525 #6C9425
triadic
#948525 #259485 #852594
tetradic
#948525 #25944E #253494 #94256C
square
#948525 #25944E #253494 #94256C
split-complementary
#948525 #256C94 #4E2594
monochromatic
#322D0D #635919 #948525 #C5B131 #D6C65D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##948525#FFFFFF#000000##000000
##9485251.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)
#928114
Deuteranopia (green-blind)
#96872B
Tritanopia (blue-blind)
#A07B72
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #948525;
/* rgb */ color: rgb(148, 133, 37);
/* oklch */ color: oklch(61.3% 0.114 100.1);
Tailwind
colors: {
  custom: {
    50: '#b7a867',
    500: '#948525',
    950: '#000000',
  },
}
SCSS
$custom: #948525;
$custom-light: #b7a867;
$custom-dark: #000000;
JSON
{
  "hex": "#948525",
  "rgb": {
    "r": 148,
    "g": 133,
    "b": 37
  },
  "hsl": {
    "h": 51.892,
    "s": 60,
    "l": 36.275
  },
  "oklch": {
    "l": 0.61272,
    "c": 0.11357,
    "h": 100.1
  },
  "luminance": 0.23205
}

Semantic roles & 50–950 ramp

primary
#948525
secondary
#5967BB
accent
#5AE345
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #948525

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

Preview Lab → · Contrast checker → · Palette generator →

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