#948631#948631

#948631 is a mid, moderate yellow. Relative luminance 0.236; OKLCH L 61.6% C 0.106 H 99.9°. Best body text is #000000 at 5.71:1 contrast (WCAG AA passes).

Color values

HEX#948631
RGBrgb(148, 134, 49)
HSLhsl(52, 50%, 39%)
HSVhsv(52, 67%, 58%)
CMYKcmyk(0%, 9.5%, 66.9%, 42%)
CIE-LABlab(55.65, -5.18, 46.05)
CIE-LCHlch(55.65, 46.34, 96.42°)
OKLaboklab(61.59% -0.0182 0.1042)
OKLCHoklch(61.59% 0.106 99.9)
XYZxyz(21.2931, 23.5688, 6.3328)
Luminance0.2357 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948631 #313F94
analogous
#945431 #948631 #709431
triadic
#948631 #319486 #863194
tetradic
#948631 #319454 #313F94 #943170
square
#948631 #319454 #313F94 #943170
split-complementary
#948631 #317094 #543194
monochromatic
#383313 #665C22 #948631 #C0AE42 #D0C270

Accessibility & contrast

On white

3.68
#948631 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.71
#948631 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #948631
5.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##948631#FFFFFF#000000##000000
##9486311.003.685.715.71
#FFFFFF3.681.0021.0021.00
#0000005.7121.001.001.00
##0000005.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#938226
Deuteranopia (green-blind)
#968836
Tritanopia (blue-blind)
#9F7C74
Achromatopsia (no color)
#858585

Design tokens & code

CSS
--color: #948631;
/* rgb */ color: rgb(148, 134, 49);
/* oklch */ color: oklch(61.6% 0.106 99.9);
Tailwind
colors: {
  custom: {
    50: '#b6a86e',
    500: '#948631',
    950: '#000000',
  },
}
SCSS
$custom: #948631;
$custom-light: #b6a86e;
$custom-dark: #000000;
JSON
{
  "hex": "#948631",
  "rgb": {
    "r": 148,
    "g": 134,
    "b": 49
  },
  "hsl": {
    "h": 51.515,
    "s": 50.254,
    "l": 38.627
  },
  "oklch": {
    "l": 0.61594,
    "c": 0.10579,
    "h": 99.9
  },
  "luminance": 0.23568
}

Semantic roles & 50–950 ramp

primary
#948631
secondary
#6974B7
accent
#62DA4E
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#120F07
muted
#817F7A

Preview Lab

Preview with #948631

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

Preview Lab → · Contrast checker → · Palette generator →

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