#948D2C#948D2C

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

Color values

HEX#948D2C
RGBrgb(148, 141, 44)
HSLhsl(56, 54%, 38%)
HSVhsv(56, 70%, 58%)
CMYKcmyk(0%, 4.7%, 70.3%, 42%)
CIE-LABlab(57.59, -9.29, 50.18)
CIE-LCHlch(57.59, 51.03, 100.49°)
OKLaboklab(63.12% -0.0304 0.1121)
OKLCHoklch(63.12% 0.116 105.2)
XYZxyz(22.1931, 25.5283, 6.1408)
Luminance0.2553 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948D2C #2C3394
analogous
#94592C #948D2C #67942C
triadic
#948D2C #2C948D #8D2C94
tetradic
#948D2C #2C9459 #2C3394 #942C67
square
#948D2C #2C9459 #2C3394 #942C67
split-complementary
#948D2C #2C6794 #592C94
monochromatic
#363310 #65601E #948D2C #C3BA3A #D2CB68

Accessibility & contrast

On white

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

On black

6.11
#948D2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #948D2C
6.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##948D2C#FFFFFF#000000##000000
##948D2C1.003.446.116.11
#FFFFFF3.441.0021.0021.00
#0000006.1121.001.001.00
##0000006.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#99881D
Deuteranopia (green-blind)
#9C8C32
Tritanopia (blue-blind)
#9F837A
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #948d2c;
/* rgb */ color: rgb(148, 141, 44);
/* oklch */ color: oklch(63.1% 0.116 105.2);
Tailwind
colors: {
  custom: {
    50: '#b6ae6b',
    500: '#948d2c',
    950: '#000000',
  },
}
SCSS
$custom: #948d2c;
$custom-light: #b6ae6b;
$custom-dark: #000000;
JSON
{
  "hex": "#948d2c",
  "rgb": {
    "r": 148,
    "g": 141,
    "b": 44
  },
  "hsl": {
    "h": 55.962,
    "s": 54.167,
    "l": 37.647
  },
  "oklch": {
    "l": 0.63118,
    "c": 0.11612,
    "h": 105.2
  },
  "luminance": 0.25528
}

Semantic roles & 50–950 ramp

primary
#948D2C
secondary
#6369B9
accent
#54DE4A
background
#FBFAF6
surface
#F6F4EC
border
#D0CEC7
text
#121007
muted
#817F7A

Preview Lab

Preview with #948D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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