#948526#948526

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

Color values

HEX#948526
RGBrgb(148, 133, 38)
HSLhsl(52, 59%, 36%)
HSVhsv(52, 74%, 58%)
CMYKcmyk(0%, 10.1%, 74.3%, 42%)
CIE-LABlab(55.29, -5.25, 50.30)
CIE-LCHlch(55.29, 50.58, 95.96°)
OKLaboklab(61.28% -0.0196 0.1112)
OKLCHoklch(61.28% 0.113 100)
XYZxyz(20.9511, 23.2119, 5.2101)
Luminance0.2321 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948526 #263594
analogous
#944E26 #948526 #6C9426
triadic
#948526 #269485 #852694
tetradic
#948526 #26944E #263594 #94266C
square
#948526 #26944E #263594 #94266C
split-complementary
#948526 #266C94 #4E2694
monochromatic
#332D0D #635919 #948526 #C5B133 #D6C65F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##948526#FFFFFF#000000##000000
##9485261.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)
#928116
Deuteranopia (green-blind)
#96872C
Tritanopia (blue-blind)
#A07B72
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #948526;
/* rgb */ color: rgb(148, 133, 38);
/* oklch */ color: oklch(61.3% 0.113 100.0);
Tailwind
colors: {
  custom: {
    50: '#b7a867',
    500: '#948526',
    950: '#000000',
  },
}
SCSS
$custom: #948526;
$custom-light: #b7a867;
$custom-dark: #000000;
JSON
{
  "hex": "#948526",
  "rgb": {
    "r": 148,
    "g": 133,
    "b": 38
  },
  "hsl": {
    "h": 51.818,
    "s": 59.14,
    "l": 36.471
  },
  "oklch": {
    "l": 0.61279,
    "c": 0.11293,
    "h": 100
  },
  "luminance": 0.23211
}

Semantic roles & 50–950 ramp

primary
#948526
secondary
#5B68BB
accent
#5BE245
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #948526

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

Preview Lab → · Contrast checker → · Palette generator →

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