#948D2A#948D2A

#948D2A is a light, moderate yellow. Relative luminance 0.255; OKLCH L 63.1% C 0.118 H 105.3°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#948D2A
RGBrgb(148, 141, 42)
HSLhsl(56, 56%, 37%)
HSVhsv(56, 72%, 58%)
CMYKcmyk(0%, 4.7%, 71.6%, 42%)
CIE-LABlab(57.57, -9.40, 50.96)
CIE-LCHlch(57.57, 51.82, 100.45°)
OKLaboklab(63.1% -0.0309 0.1134)
OKLCHoklch(63.1% 0.118 105.3)
XYZxyz(22.1564, 25.5136, 5.9476)
Luminance0.2551 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948D2A #2A3194
analogous
#94582A #948D2A #66942A
triadic
#948D2A #2A948D #8D2A94
tetradic
#948D2A #2A9458 #2A3194 #942A66
square
#948D2A #2A9458 #2A3194 #942A66
split-complementary
#948D2A #2A6694 #582A94
monochromatic
#35320F #64601C #948D2A #C4BA38 #D3CC65

Accessibility & contrast

On white

3.44
#948D2A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#948D2A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #948D2A
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##948D2A#FFFFFF#000000##000000
##948D2A1.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#99881A
Deuteranopia (green-blind)
#9C8C31
Tritanopia (blue-blind)
#9F8379
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #948d2a;
/* rgb */ color: rgb(148, 141, 42);
/* oklch */ color: oklch(63.1% 0.118 105.3);
Tailwind
colors: {
  custom: {
    50: '#b7ae6a',
    500: '#948d2a',
    950: '#000000',
  },
}
SCSS
$custom: #948d2a;
$custom-light: #b7ae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#948d2a",
  "rgb": {
    "r": 148,
    "g": 141,
    "b": 42
  },
  "hsl": {
    "h": 56.038,
    "s": 55.789,
    "l": 37.255
  },
  "oklch": {
    "l": 0.63102,
    "c": 0.11751,
    "h": 105.3
  },
  "luminance": 0.25513
}

Semantic roles & 50–950 ramp

primary
#948D2A
secondary
#6066B9
accent
#53DF49
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #948D2A

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

Preview Lab → · Contrast checker → · Palette generator →

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