#948B2B#948B2B

#948B2B is a light, moderate yellow. Relative luminance 0.249; OKLCH L 62.7% C 0.115 H 103.9°. Best body text is #000000 at 5.99:1 contrast (WCAG AA passes).

Color values

HEX#948B2B
RGBrgb(148, 139, 43)
HSLhsl(55, 55%, 37%)
HSVhsv(55, 71%, 58%)
CMYKcmyk(0%, 6.1%, 70.9%, 42%)
CIE-LABlab(57.01, -8.27, 50.01)
CIE-LCHlch(57.01, 50.69, 99.39°)
OKLaboklab(62.66% -0.0276 0.1115)
OKLCHoklch(62.66% 0.115 103.9)
XYZxyz(21.8823, 24.9364, 5.9456)
Luminance0.2494 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948B2B #2B3494
analogous
#94562B #948B2B #69942B
triadic
#948B2B #2B948B #8B2B94
tetradic
#948B2B #2B9456 #2B3494 #942B69
square
#948B2B #2B9456 #2B3494 #942B69
split-complementary
#948B2B #2B6994 #562B94
monochromatic
#35320F #655E1D #948B2B #C3B839 #D3C967

Accessibility & contrast

On white

3.51
#948B2B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.99
#948B2B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #948B2B
5.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##948B2B#FFFFFF#000000##000000
##948B2B1.003.515.995.99
#FFFFFF3.511.0021.0021.00
#0000005.9921.001.001.00
##0000005.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#98861C
Deuteranopia (green-blind)
#9B8B31
Tritanopia (blue-blind)
#9F8178
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #948b2b;
/* rgb */ color: rgb(148, 139, 43);
/* oklch */ color: oklch(62.7% 0.115 103.9);
Tailwind
colors: {
  custom: {
    50: '#b7ac6b',
    500: '#948b2b',
    950: '#000000',
  },
}
SCSS
$custom: #948b2b;
$custom-light: #b7ac6b;
$custom-dark: #000000;
JSON
{
  "hex": "#948b2b",
  "rgb": {
    "r": 148,
    "g": 139,
    "b": 43
  },
  "hsl": {
    "h": 54.857,
    "s": 54.974,
    "l": 37.451
  },
  "oklch": {
    "l": 0.62659,
    "c": 0.1149,
    "h": 103.9
  },
  "luminance": 0.24936
}

Semantic roles & 50–950 ramp

primary
#948B2B
secondary
#6269B9
accent
#56DE49
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #948B2B

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

Preview Lab → · Contrast checker → · Palette generator →

#948B2B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva