#948522#948522

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

Color values

HEX#948522
RGBrgb(148, 133, 34)
HSLhsl(52, 63%, 36%)
HSVhsv(52, 77%, 58%)
CMYKcmyk(0%, 10.1%, 77%, 42%)
CIE-LABlab(55.26, -5.43, 51.79)
CIE-LCHlch(55.26, 52.07, 95.99°)
OKLaboklab(61.25% -0.0206 0.1136)
OKLCHoklch(61.25% 0.115 100.3)
XYZxyz(20.8900, 23.1874, 4.8883)
Luminance0.2319 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948522 #223194
analogous
#944C22 #948522 #6A9422
triadic
#948522 #229485 #852294
tetradic
#948522 #22944C #223194 #94226A
square
#948522 #22944C #223194 #94226A
split-complementary
#948522 #226A94 #4C2294
monochromatic
#302C0B #625817 #948522 #C6B22D #D9C858

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##948522#FFFFFF#000000##000000
##9485221.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)
#92810E
Deuteranopia (green-blind)
#968729
Tritanopia (blue-blind)
#A07B72
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #948522;
/* rgb */ color: rgb(148, 133, 34);
/* oklch */ color: oklch(61.3% 0.115 100.3);
Tailwind
colors: {
  custom: {
    50: '#b7a865',
    500: '#948522',
    950: '#000000',
  },
}
SCSS
$custom: #948522;
$custom-light: #b7a865;
$custom-dark: #000000;
JSON
{
  "hex": "#948522",
  "rgb": {
    "r": 148,
    "g": 133,
    "b": 34
  },
  "hsl": {
    "h": 52.105,
    "s": 62.637,
    "l": 35.686
  },
  "oklch": {
    "l": 0.61251,
    "c": 0.11541,
    "h": 100.3
  },
  "luminance": 0.23186
}

Semantic roles & 50–950 ramp

primary
#948522
secondary
#5563BD
accent
#58E642
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #948522

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

Preview Lab → · Contrast checker → · Palette generator →

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