#948925#948925

#948925 is a light, moderate yellow. Relative luminance 0.243; OKLCH L 62.2% C 0.117 H 102.9°. Best body text is #000000 at 5.86:1 contrast (WCAG AA passes).

Color values

HEX#948925
RGBrgb(148, 137, 37)
HSLhsl(54, 60%, 36%)
HSVhsv(54, 75%, 58%)
CMYKcmyk(0%, 7.4%, 75%, 42%)
CIE-LABlab(56.41, -7.49, 51.76)
CIE-LCHlch(56.41, 52.30, 98.23°)
OKLaboklab(62.17% -0.0261 0.1141)
OKLCHoklch(62.17% 0.117 102.9)
XYZxyz(21.4933, 24.3217, 5.3123)
Luminance0.2432 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948925 #253094
analogous
#945225 #948925 #689425
triadic
#948925 #259489 #892594
tetradic
#948925 #259452 #253094 #942568
square
#948925 #259452 #253094 #942568
split-complementary
#948925 #256894 #522594
monochromatic
#322E0D #635C19 #948925 #C5B631 #D6CA5D

Accessibility & contrast

On white

3.58
#948925 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.86
#948925 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #948925
5.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##948925#FFFFFF#000000##000000
##9489251.003.585.865.86
#FFFFFF3.581.0021.0021.00
#0000005.8621.001.001.00
##0000005.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #948925;
/* rgb */ color: rgb(148, 137, 37);
/* oklch */ color: oklch(62.2% 0.117 102.9);
Tailwind
colors: {
  custom: {
    50: '#b7ab67',
    500: '#948925',
    950: '#000000',
  },
}
SCSS
$custom: #948925;
$custom-light: #b7ab67;
$custom-dark: #000000;
JSON
{
  "hex": "#948925",
  "rgb": {
    "r": 148,
    "g": 137,
    "b": 37
  },
  "hsl": {
    "h": 54.054,
    "s": 60,
    "l": 36.275
  },
  "oklch": {
    "l": 0.62165,
    "c": 0.11704,
    "h": 102.9
  },
  "luminance": 0.24321
}

Semantic roles & 50–950 ramp

primary
#948925
secondary
#5963BB
accent
#54E345
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #948925

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

Preview Lab → · Contrast checker → · Palette generator →

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