#948D29#948D29

#948D29 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#948D29
RGBrgb(148, 141, 41)
HSLhsl(56, 57%, 37%)
HSVhsv(56, 72%, 58%)
CMYKcmyk(0%, 4.7%, 72.3%, 42%)
CIE-LABlab(57.57, -9.45, 51.35)
CIE-LCHlch(57.57, 52.21, 100.43°)
OKLaboklab(63.09% -0.0312 0.114)
OKLCHoklch(63.09% 0.118 105.3)
XYZxyz(22.1388, 25.5066, 5.8545)
Luminance0.2551 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948D29 #293094
analogous
#945829 #948D29 #669429
triadic
#948D29 #29948D #8D2994
tetradic
#948D29 #299458 #293094 #942966
square
#948D29 #299458 #293094 #942966
split-complementary
#948D29 #296694 #582994
monochromatic
#34320E #645F1C #948D29 #C4BB36 #D4CD63

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##948D29#FFFFFF#000000##000000
##948D291.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)
#9A8818
Deuteranopia (green-blind)
#9C8C30
Tritanopia (blue-blind)
#9F8379
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #948d29;
/* rgb */ color: rgb(148, 141, 41);
/* oklch */ color: oklch(63.1% 0.118 105.3);
Tailwind
colors: {
  custom: {
    50: '#b7ae6a',
    500: '#948d29',
    950: '#000000',
  },
}
SCSS
$custom: #948d29;
$custom-light: #b7ae6a;
$custom-dark: #000000;
JSON
{
  "hex": "#948d29",
  "rgb": {
    "r": 148,
    "g": 141,
    "b": 41
  },
  "hsl": {
    "h": 56.075,
    "s": 56.614,
    "l": 37.059
  },
  "oklch": {
    "l": 0.63094,
    "c": 0.11818,
    "h": 105.3
  },
  "luminance": 0.25506
}

Semantic roles & 50–950 ramp

primary
#948D29
secondary
#5F65BA
accent
#52E048
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #948D29

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

Preview Lab → · Contrast checker → · Palette generator →

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