#949231#949231

#949231 is a light, moderate yellow. Relative luminance 0.271; OKLCH L 64.3% C 0.118 H 108.1°. Best body text is #000000 at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#949231
RGBrgb(148, 146, 49)
HSLhsl(59, 50%, 39%)
HSVhsv(59, 67%, 58%)
CMYKcmyk(0%, 1.4%, 66.9%, 42%)
CIE-LABlab(59.04, -11.68, 49.58)
CIE-LCHlch(59.04, 50.94, 103.25°)
OKLaboklab(64.29% -0.0366 0.1117)
OKLCHoklch(64.29% 0.118 108.1)
XYZxyz(23.0468, 27.0761, 6.9173)
Luminance0.2707 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#949231 #313394
analogous
#946031 #949231 #649431
triadic
#949231 #319492 #923194
tetradic
#949231 #319460 #313394 #943164
square
#949231 #319460 #313394 #943164
split-complementary
#949231 #316494 #603194
monochromatic
#383713 #666522 #949231 #C0BE42 #D0CE70

Accessibility & contrast

On white

3.27
#949231 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.41
#949231 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #949231
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##949231#FFFFFF#000000##000000
##9492311.003.276.416.41
#FFFFFF3.271.0021.0021.00
#0000006.4121.001.001.00
##0000006.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#9E8C24
Deuteranopia (green-blind)
#A09037
Tritanopia (blue-blind)
#9E897E
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #949231;
/* rgb */ color: rgb(148, 146, 49);
/* oklch */ color: oklch(64.3% 0.118 108.1);
Tailwind
colors: {
  custom: {
    50: '#b6b16f',
    500: '#949231',
    950: '#000000',
  },
}
SCSS
$custom: #949231;
$custom-light: #b6b16f;
$custom-dark: #000000;
JSON
{
  "hex": "#949231",
  "rgb": {
    "r": 148,
    "g": 146,
    "b": 49
  },
  "hsl": {
    "h": 58.788,
    "s": 50.254,
    "l": 38.627
  },
  "oklch": {
    "l": 0.64292,
    "c": 0.11752,
    "h": 108.1
  },
  "luminance": 0.27075
}

Semantic roles & 50–950 ramp

primary
#949231
secondary
#696BB7
accent
#51DA4E
background
#FBFAF6
surface
#F6F5EC
border
#D0CFC7
text
#121008
muted
#817F7B

Preview Lab

Preview with #949231

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

Preview Lab → · Contrast checker → · Palette generator →

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