#948427#948427

#948427 is a mid, moderate yellow. Relative luminance 0.229; OKLCH L 61.1% C 0.111 H 99.2°. Best body text is #000000 at 5.59:1 contrast (WCAG AA passes).

Color values

HEX#948427
RGBrgb(148, 132, 39)
HSLhsl(51, 58%, 37%)
HSVhsv(51, 74%, 58%)
CMYKcmyk(0%, 10.8%, 73.6%, 42%)
CIE-LABlab(55.02, -4.65, 49.64)
CIE-LCHlch(55.02, 49.86, 95.35°)
OKLaboklab(61.06% -0.0178 0.11)
OKLCHoklch(61.06% 0.111 99.2)
XYZxyz(20.8312, 22.9459, 5.2508)
Luminance0.2294 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948427 #273794
analogous
#944E27 #948427 #6E9427
triadic
#948427 #279484 #842794
tetradic
#948427 #27944E #273794 #94276E
square
#948427 #27944E #273794 #94276E
split-complementary
#948427 #276E94 #4E2794
monochromatic
#332E0D #64591A #948427 #C4AF34 #D5C460

Accessibility & contrast

On white

3.76
#948427 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.59
#948427 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #948427
5.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##948427#FFFFFF#000000##000000
##9484271.003.765.595.59
#FFFFFF3.761.0021.0021.00
#0000005.5921.001.001.00
##0000005.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#918018
Deuteranopia (green-blind)
#95862D
Tritanopia (blue-blind)
#A07A72
Achromatopsia (no color)
#848484

Design tokens & code

CSS
--color: #948427;
/* rgb */ color: rgb(148, 132, 39);
/* oklch */ color: oklch(61.1% 0.111 99.2);
Tailwind
colors: {
  custom: {
    50: '#b7a768',
    500: '#948427',
    950: '#000000',
  },
}
SCSS
$custom: #948427;
$custom-light: #b7a768;
$custom-dark: #000000;
JSON
{
  "hex": "#948427",
  "rgb": {
    "r": 148,
    "g": 132,
    "b": 39
  },
  "hsl": {
    "h": 51.193,
    "s": 58.289,
    "l": 36.667
  },
  "oklch": {
    "l": 0.61064,
    "c": 0.11144,
    "h": 99.2
  },
  "luminance": 0.22945
}

Semantic roles & 50–950 ramp

primary
#948427
secondary
#5C6ABB
accent
#5DE246
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#120F06
muted
#817F7A

Preview Lab

Preview with #948427

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

Preview Lab → · Contrast checker → · Palette generator →

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