#948C1D#948C1D

#948C1D is a light, vivid yellow. Relative luminance 0.251; OKLCH L 62.8% C 0.124 H 105.1°. Best body text is #000000 at 6.03:1 contrast (WCAG AA passes).

Color values

HEX#948C1D
RGBrgb(148, 140, 29)
HSLhsl(56, 67%, 35%)
HSVhsv(56, 80%, 58%)
CMYKcmyk(0%, 5.4%, 80.4%, 42%)
CIE-LABlab(57.21, -9.45, 55.26)
CIE-LCHlch(57.21, 56.06, 99.70°)
OKLaboklab(62.79% -0.0323 0.12)
OKLCHoklch(62.79% 0.124 105.1)
XYZxyz(21.8136, 25.1416, 4.8660)
Luminance0.2514 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948C1D #1D2594
analogous
#94501D #948C1D #61941D
triadic
#948C1D #1D948C #8C1D94
tetradic
#948C1D #1D9450 #1D2594 #941D61
square
#948C1D #1D9450 #1D2594 #941D61
split-complementary
#948C1D #1D6194 #501D94
monochromatic
#2E2B09 #615C13 #948C1D #C7BC27 #DCD34F

Accessibility & contrast

On white

3.48
#948C1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.03
#948C1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #948C1D
6.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##948C1D#FFFFFF#000000##000000
##948C1D1.003.486.036.03
#FFFFFF3.481.0021.0021.00
#0000006.0321.001.001.00
##0000006.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#998700
Deuteranopia (green-blind)
#9C8B26
Tritanopia (blue-blind)
#A08278
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #948c1d;
/* rgb */ color: rgb(148, 140, 29);
/* oklch */ color: oklch(62.8% 0.124 105.1);
Tailwind
colors: {
  custom: {
    50: '#b7ad64',
    500: '#948c1d',
    950: '#000000',
  },
}
SCSS
$custom: #948c1d;
$custom-light: #b7ad64;
$custom-dark: #000000;
JSON
{
  "hex": "#948c1d",
  "rgb": {
    "r": 148,
    "g": 140,
    "b": 29
  },
  "hsl": {
    "h": 55.966,
    "s": 67.232,
    "l": 34.706
  },
  "oklch": {
    "l": 0.62792,
    "c": 0.12424,
    "h": 105.1
  },
  "luminance": 0.25141
}

Semantic roles & 50–950 ramp

primary
#948C1D
secondary
#4E55BF
accent
#49EA3E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #948C1D

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

Preview Lab → · Contrast checker → · Palette generator →

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