#948A1D#948A1D

#948A1D is a light, vivid yellow. Relative luminance 0.246; OKLCH L 62.3% C 0.122 H 103.9°. Best body text is #000000 at 5.91:1 contrast (WCAG AA passes).

Color values

HEX#948A1D
RGBrgb(148, 138, 29)
HSLhsl(55, 67%, 35%)
HSVhsv(55, 80%, 58%)
CMYKcmyk(0%, 6.8%, 80.4%, 42%)
CIE-LABlab(56.65, -8.37, 54.75)
CIE-LCHlch(56.65, 55.39, 98.69°)
OKLaboklab(62.34% -0.0293 0.1189)
OKLCHoklch(62.34% 0.122 103.9)
XYZxyz(21.5240, 24.5625, 4.7694)
Luminance0.2456 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948A1D #1D2794
analogous
#944F1D #948A1D #63941D
triadic
#948A1D #1D948A #8A1D94
tetradic
#948A1D #1D944F #1D2794 #941D63
square
#948A1D #1D944F #1D2794 #941D63
split-complementary
#948A1D #1D6394 #4F1D94
monochromatic
#2E2B09 #615A13 #948A1D #C7BA27 #DCD14F

Accessibility & contrast

On white

3.55
#948A1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.91
#948A1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #948A1D
5.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##948A1D#FFFFFF#000000##000000
##948A1D1.003.555.915.91
#FFFFFF3.551.0021.0021.00
#0000005.9121.001.001.00
##0000005.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#978500
Deuteranopia (green-blind)
#9A8A26
Tritanopia (blue-blind)
#A08076
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #948a1d;
/* rgb */ color: rgb(148, 138, 29);
/* oklch */ color: oklch(62.3% 0.122 103.9);
Tailwind
colors: {
  custom: {
    50: '#b7ab64',
    500: '#948a1d',
    950: '#000000',
  },
}
SCSS
$custom: #948a1d;
$custom-light: #b7ab64;
$custom-dark: #000000;
JSON
{
  "hex": "#948a1d",
  "rgb": {
    "r": 148,
    "g": 138,
    "b": 29
  },
  "hsl": {
    "h": 54.958,
    "s": 67.232,
    "l": 34.706
  },
  "oklch": {
    "l": 0.62341,
    "c": 0.12244,
    "h": 103.9
  },
  "luminance": 0.24562
}

Semantic roles & 50–950 ramp

primary
#948A1D
secondary
#4E57BF
accent
#4CEA3E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #948A1D

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

Preview Lab → · Contrast checker → · Palette generator →

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