#949331#949331

#949331 is a light, moderate yellow. Relative luminance 0.274; OKLCH L 64.5% C 0.119 H 108.7°. Best body text is #000000 at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#949331
RGBrgb(148, 147, 49)
HSLhsl(59, 50%, 39%)
HSVhsv(59, 67%, 58%)
CMYKcmyk(0%, 0.7%, 66.9%, 42%)
CIE-LABlab(59.33, -12.21, 49.88)
CIE-LCHlch(59.33, 51.35, 103.76°)
OKLaboklab(64.52% -0.0381 0.1123)
OKLCHoklch(64.52% 0.119 108.7)
XYZxyz(23.2016, 27.3858, 6.9689)
Luminance0.2738 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949331 #313294
analogous
#946131 #949331 #639431
triadic
#949331 #319493 #933194
tetradic
#949331 #319461 #313294 #943163
square
#949331 #319461 #313294 #943163
split-complementary
#949331 #316394 #613194
monochromatic
#383813 #666522 #949331 #C0BF42 #D0CF70

Accessibility & contrast

On white

3.24
#949331 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.48
#949331 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #949331
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##949331#FFFFFF#000000##000000
##9493311.003.246.486.48
#FFFFFF3.241.0021.0021.00
#0000006.4821.001.001.00
##0000006.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D23
Deuteranopia (green-blind)
#A09037
Tritanopia (blue-blind)
#9E8A7F
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #949331;
/* rgb */ color: rgb(148, 147, 49);
/* oklch */ color: oklch(64.5% 0.119 108.7);
Tailwind
colors: {
  custom: {
    50: '#b6b26f',
    500: '#949331',
    950: '#000000',
  },
}
SCSS
$custom: #949331;
$custom-light: #b6b26f;
$custom-dark: #000000;
JSON
{
  "hex": "#949331",
  "rgb": {
    "r": 148,
    "g": 147,
    "b": 49
  },
  "hsl": {
    "h": 59.394,
    "s": 50.254,
    "l": 38.627
  },
  "oklch": {
    "l": 0.64519,
    "c": 0.11859,
    "h": 108.7
  },
  "luminance": 0.27385
}

Semantic roles & 50–950 ramp

primary
#949331
secondary
#696AB7
accent
#4FDA4E
background
#FBFAF6
surface
#F6F5EC
border
#D0CFC7
text
#121008
muted
#817F7B

Preview Lab

Preview with #949331

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

Preview Lab → · Contrast checker → · Palette generator →

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