#948E1D#948E1D

#948E1D is a light, vivid yellow. Relative luminance 0.257; OKLCH L 63.2% C 0.126 H 106.3°. Best body text is #000000 at 6.15:1 contrast (WCAG AA passes).

Color values

HEX#948E1D
RGBrgb(148, 142, 29)
HSLhsl(57, 67%, 35%)
HSVhsv(57, 80%, 58%)
CMYKcmyk(0%, 4.1%, 80.4%, 42%)
CIE-LABlab(57.78, -10.52, 55.76)
CIE-LCHlch(57.78, 56.74, 100.69°)
OKLaboklab(63.24% -0.0353 0.121)
OKLCHoklch(63.24% 0.126 106.3)
XYZxyz(22.1085, 25.7314, 4.9643)
Luminance0.2573 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948E1D #1D2394
analogous
#94531D #948E1D #5E941D
triadic
#948E1D #1D948E #8E1D94
tetradic
#948E1D #1D9453 #1D2394 #941D5E
square
#948E1D #1D9453 #1D2394 #941D5E
split-complementary
#948E1D #1D5E94 #531D94
monochromatic
#2E2C09 #615D13 #948E1D #C7BF27 #DCD54F

Accessibility & contrast

On white

3.42
#948E1D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.15
#948E1D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #948E1D
6.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##948E1D#FFFFFF#000000##000000
##948E1D1.003.426.156.15
#FFFFFF3.421.0021.0021.00
#0000006.1521.001.001.00
##0000006.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8800
Deuteranopia (green-blind)
#9D8D27
Tritanopia (blue-blind)
#9F8479
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #948e1d;
/* rgb */ color: rgb(148, 142, 29);
/* oklch */ color: oklch(63.2% 0.126 106.3);
Tailwind
colors: {
  custom: {
    50: '#b7ae64',
    500: '#948e1d',
    950: '#000000',
  },
}
SCSS
$custom: #948e1d;
$custom-light: #b7ae64;
$custom-dark: #000000;
JSON
{
  "hex": "#948e1d",
  "rgb": {
    "r": 148,
    "g": 142,
    "b": 29
  },
  "hsl": {
    "h": 56.975,
    "s": 67.232,
    "l": 34.706
  },
  "oklch": {
    "l": 0.63244,
    "c": 0.12609,
    "h": 106.3
  },
  "luminance": 0.25731
}

Semantic roles & 50–950 ramp

primary
#948E1D
secondary
#4E53BF
accent
#46EA3E
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121006
muted
#817F7A

Preview Lab

Preview with #948E1D

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

Preview Lab → · Contrast checker → · Palette generator →

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