#948725#948725

#948725 is a mid, moderate yellow. Relative luminance 0.238; OKLCH L 61.7% C 0.115 H 101.5°. Best body text is #000000 at 5.75:1 contrast (WCAG AA passes).

Color values

HEX#948725
RGBrgb(148, 135, 37)
HSLhsl(53, 60%, 36%)
HSVhsv(53, 75%, 58%)
CMYKcmyk(0%, 8.8%, 75%, 42%)
CIE-LABlab(55.85, -6.39, 51.22)
CIE-LCHlch(55.85, 51.62, 97.12°)
OKLaboklab(61.72% -0.023 0.113)
OKLCHoklch(61.72% 0.115 101.5)
XYZxyz(21.2116, 23.7584, 5.2184)
Luminance0.2376 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948725 #253294
analogous
#945025 #948725 #6A9425
triadic
#948725 #259487 #872594
tetradic
#948725 #259450 #253294 #94256A
square
#948725 #259450 #253294 #94256A
split-complementary
#948725 #256A94 #502594
monochromatic
#322E0D #635A19 #948725 #C5B431 #D6C85D

Accessibility & contrast

On white

3.65
#948725 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.75
#948725 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #948725
5.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##948725#FFFFFF#000000##000000
##9487251.003.655.755.75
#FFFFFF3.651.0021.0021.00
#0000005.7521.001.001.00
##0000005.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#948313
Deuteranopia (green-blind)
#98882C
Tritanopia (blue-blind)
#A07D74
Achromatopsia (no color)
#868686

Design tokens & code

CSS
--color: #948725;
/* rgb */ color: rgb(148, 135, 37);
/* oklch */ color: oklch(61.7% 0.115 101.5);
Tailwind
colors: {
  custom: {
    50: '#b7a967',
    500: '#948725',
    950: '#000000',
  },
}
SCSS
$custom: #948725;
$custom-light: #b7a967;
$custom-dark: #000000;
JSON
{
  "hex": "#948725",
  "rgb": {
    "r": 148,
    "g": 135,
    "b": 37
  },
  "hsl": {
    "h": 52.973,
    "s": 60,
    "l": 36.275
  },
  "oklch": {
    "l": 0.61718,
    "c": 0.11527,
    "h": 101.5
  },
  "luminance": 0.23757
}

Semantic roles & 50–950 ramp

primary
#948725
secondary
#5965BB
accent
#57E345
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #948725

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

Preview Lab → · Contrast checker → · Palette generator →

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