#948C29#948C29

#948C29 is a light, moderate yellow. Relative luminance 0.252; OKLCH L 62.9% C 0.117 H 104.7°. Best body text is #000000 at 6.04:1 contrast (WCAG AA passes).

Color values

HEX#948C29
RGBrgb(148, 140, 41)
HSLhsl(56, 57%, 37%)
HSVhsv(56, 72%, 58%)
CMYKcmyk(0%, 5.4%, 72.3%, 42%)
CIE-LABlab(57.28, -8.91, 51.07)
CIE-LCHlch(57.28, 51.84, 99.90°)
OKLaboklab(62.87% -0.0297 0.1134)
OKLCHoklch(62.87% 0.117 104.7)
XYZxyz(21.9920, 25.2130, 5.8056)
Luminance0.2521 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948C29 #293194
analogous
#945729 #948C29 #679429
triadic
#948C29 #29948C #8C2994
tetradic
#948C29 #299457 #293194 #942967
square
#948C29 #299457 #293194 #942967
split-complementary
#948C29 #296794 #572994
monochromatic
#34310E #645F1C #948C29 #C4B936 #D4CC63

Accessibility & contrast

On white

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

On black

6.04
#948C29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #948C29
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##948C29#FFFFFF#000000##000000
##948C291.003.486.046.04
#FFFFFF3.481.0021.0021.00
#0000006.0421.001.001.00
##0000006.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#998719
Deuteranopia (green-blind)
#9B8C30
Tritanopia (blue-blind)
#9F8278
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #948c29;
/* rgb */ color: rgb(148, 140, 41);
/* oklch */ color: oklch(62.9% 0.117 104.7);
Tailwind
colors: {
  custom: {
    50: '#b7ad6a',
    500: '#948c29',
    950: '#000000',
  },
}
SCSS
$custom: #948c29;
$custom-light: #b7ad6a;
$custom-dark: #000000;
JSON
{
  "hex": "#948c29",
  "rgb": {
    "r": 148,
    "g": 140,
    "b": 41
  },
  "hsl": {
    "h": 55.514,
    "s": 56.614,
    "l": 37.059
  },
  "oklch": {
    "l": 0.62869,
    "c": 0.11723,
    "h": 104.7
  },
  "luminance": 0.25212
}

Semantic roles & 50–950 ramp

primary
#948C29
secondary
#5F66BA
accent
#53E048
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #948C29

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

Preview Lab → · Contrast checker → · Palette generator →

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