#948825#948825

#948825 is a mid, moderate yellow. Relative luminance 0.240; OKLCH L 61.9% C 0.116 H 102.2°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#948825
RGBrgb(148, 136, 37)
HSLhsl(54, 60%, 36%)
HSVhsv(54, 75%, 58%)
CMYKcmyk(0%, 8.1%, 75%, 42%)
CIE-LABlab(56.13, -6.94, 51.49)
CIE-LCHlch(56.13, 51.96, 97.68°)
OKLaboklab(61.94% -0.0245 0.1135)
OKLCHoklch(61.94% 0.116 102.2)
XYZxyz(21.3518, 24.0387, 5.2652)
Luminance0.2404 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948825 #253194
analogous
#945125 #948825 #699425
triadic
#948825 #259488 #882594
tetradic
#948825 #259451 #253194 #942569
square
#948825 #259451 #253194 #942569
split-complementary
#948825 #256994 #512594
monochromatic
#322E0D #635B19 #948825 #C5B531 #D6C95D

Accessibility & contrast

On white

3.62
#948825 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.81
#948825 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #948825
5.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##948825#FFFFFF#000000##000000
##9488251.003.625.815.81
#FFFFFF3.621.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#958413
Deuteranopia (green-blind)
#99892C
Tritanopia (blue-blind)
#A07E75
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #948825;
/* rgb */ color: rgb(148, 136, 37);
/* oklch */ color: oklch(61.9% 0.116 102.2);
Tailwind
colors: {
  custom: {
    50: '#b7aa67',
    500: '#948825',
    950: '#000000',
  },
}
SCSS
$custom: #948825;
$custom-light: #b7aa67;
$custom-dark: #000000;
JSON
{
  "hex": "#948825",
  "rgb": {
    "r": 148,
    "g": 136,
    "b": 37
  },
  "hsl": {
    "h": 53.514,
    "s": 60,
    "l": 36.275
  },
  "oklch": {
    "l": 0.61941,
    "c": 0.11615,
    "h": 102.2
  },
  "luminance": 0.24038
}

Semantic roles & 50–950 ramp

primary
#948825
secondary
#5964BB
accent
#56E345
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #948825

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

Preview Lab → · Contrast checker → · Palette generator →

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