#948831#948831

#948831 is a light, moderate yellow. Relative luminance 0.241; OKLCH L 62.0% C 0.108 H 101.4°. Best body text is #000000 at 5.83:1 contrast (WCAG AA passes).

Color values

HEX#948831
RGBrgb(148, 136, 49)
HSLhsl(53, 50%, 39%)
HSVhsv(53, 67%, 58%)
CMYKcmyk(0%, 8.1%, 66.9%, 42%)
CIE-LABlab(56.21, -6.28, 46.64)
CIE-LCHlch(56.21, 47.06, 97.67°)
OKLaboklab(62.04% -0.0213 0.1055)
OKLCHoklch(62.04% 0.108 101.4)
XYZxyz(21.5722, 24.1269, 6.4258)
Luminance0.2413 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948831 #313D94
analogous
#945631 #948831 #6E9431
triadic
#948831 #319488 #883194
tetradic
#948831 #319456 #313D94 #94316E
square
#948831 #319456 #313D94 #94316E
split-complementary
#948831 #316E94 #563194
monochromatic
#383313 #665E22 #948831 #C0B142 #D0C470

Accessibility & contrast

On white

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

On black

5.83
#948831 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #948831
5.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##948831#FFFFFF#000000##000000
##9488311.003.615.835.83
#FFFFFF3.611.0021.0021.00
#0000005.8321.001.001.00
##0000005.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#948426
Deuteranopia (green-blind)
#988936
Tritanopia (blue-blind)
#9F7F76
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #948831;
/* rgb */ color: rgb(148, 136, 49);
/* oklch */ color: oklch(62.0% 0.108 101.4);
Tailwind
colors: {
  custom: {
    50: '#b6aa6e',
    500: '#948831',
    950: '#000000',
  },
}
SCSS
$custom: #948831;
$custom-light: #b6aa6e;
$custom-dark: #000000;
JSON
{
  "hex": "#948831",
  "rgb": {
    "r": 148,
    "g": 136,
    "b": 49
  },
  "hsl": {
    "h": 52.727,
    "s": 50.254,
    "l": 38.627
  },
  "oklch": {
    "l": 0.62039,
    "c": 0.10759,
    "h": 101.4
  },
  "luminance": 0.24126
}

Semantic roles & 50–950 ramp

primary
#948831
secondary
#6973B7
accent
#5FDA4E
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #948831

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

Preview Lab → · Contrast checker → · Palette generator →

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