#948827#948827

#948827 is a mid, moderate yellow. Relative luminance 0.241; OKLCH L 62.0% C 0.115 H 102.1°. Best body text is #000000 at 5.81:1 contrast (WCAG AA passes).

Color values

HEX#948827
RGBrgb(148, 136, 39)
HSLhsl(53, 58%, 37%)
HSVhsv(53, 74%, 58%)
CMYKcmyk(0%, 8.1%, 73.6%, 42%)
CIE-LABlab(56.14, -6.84, 50.74)
CIE-LCHlch(56.14, 51.20, 97.68°)
OKLaboklab(61.96% -0.024 0.1123)
OKLCHoklch(61.96% 0.115 102.1)
XYZxyz(21.3841, 24.0516, 5.4351)
Luminance0.2405 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948827 #273394
analogous
#945127 #948827 #6A9427
triadic
#948827 #279488 #882794
tetradic
#948827 #279451 #273394 #94276A
square
#948827 #279451 #273394 #94276A
split-complementary
#948827 #276A94 #512794
monochromatic
#332F0D #645B1A #948827 #C4B534 #D5C860

Accessibility & contrast

On white

3.61
#948827 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##948827#FFFFFF#000000##000000
##9488271.003.615.815.81
#FFFFFF3.611.0021.0021.00
#0000005.8121.001.001.00
##0000005.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#958417
Deuteranopia (green-blind)
#98892D
Tritanopia (blue-blind)
#A07E75
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #948827;
/* rgb */ color: rgb(148, 136, 39);
/* oklch */ color: oklch(62.0% 0.115 102.1);
Tailwind
colors: {
  custom: {
    50: '#b7aa68',
    500: '#948827',
    950: '#000000',
  },
}
SCSS
$custom: #948827;
$custom-light: #b7aa68;
$custom-dark: #000000;
JSON
{
  "hex": "#948827",
  "rgb": {
    "r": 148,
    "g": 136,
    "b": 39
  },
  "hsl": {
    "h": 53.394,
    "s": 58.289,
    "l": 36.667
  },
  "oklch": {
    "l": 0.61956,
    "c": 0.11486,
    "h": 102.1
  },
  "luminance": 0.24051
}

Semantic roles & 50–950 ramp

primary
#948827
secondary
#5C67BB
accent
#57E246
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #948827

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

Preview Lab → · Contrast checker → · Palette generator →

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