#948B29#948B29

#948B29 is a light, moderate yellow. Relative luminance 0.249; OKLCH L 62.6% C 0.116 H 104.0°. Best body text is #000000 at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#948B29
RGBrgb(148, 139, 41)
HSLhsl(55, 57%, 37%)
HSVhsv(55, 72%, 58%)
CMYKcmyk(0%, 6.1%, 72.3%, 42%)
CIE-LABlab(57.00, -8.37, 50.79)
CIE-LCHlch(57.00, 51.48, 99.36°)
OKLaboklab(62.64% -0.0281 0.1128)
OKLCHoklch(62.64% 0.116 104)
XYZxyz(21.8465, 24.9221, 5.7571)
Luminance0.2492 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#948B29 #293294
analogous
#945529 #948B29 #689429
triadic
#948B29 #29948B #8B2994
tetradic
#948B29 #299455 #293294 #942968
square
#948B29 #299455 #293294 #942968
split-complementary
#948B29 #296894 #552994
monochromatic
#34310E #645E1C #948B29 #C4B836 #D4CA63

Accessibility & contrast

On white

3.51
#948B29 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.98
#948B29 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #948B29
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##948B29#FFFFFF#000000##000000
##948B291.003.515.985.98
#FFFFFF3.511.0021.0021.00
#0000005.9821.001.001.00
##0000005.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#988619
Deuteranopia (green-blind)
#9B8B30
Tritanopia (blue-blind)
#9F8178
Achromatopsia (no color)
#898989

Design tokens & code

CSS
--color: #948b29;
/* rgb */ color: rgb(148, 139, 41);
/* oklch */ color: oklch(62.6% 0.116 104.0);
Tailwind
colors: {
  custom: {
    50: '#b7ac6a',
    500: '#948b29',
    950: '#000000',
  },
}
SCSS
$custom: #948b29;
$custom-light: #b7ac6a;
$custom-dark: #000000;
JSON
{
  "hex": "#948b29",
  "rgb": {
    "r": 148,
    "g": 139,
    "b": 41
  },
  "hsl": {
    "h": 54.953,
    "s": 56.614,
    "l": 37.059
  },
  "oklch": {
    "l": 0.62644,
    "c": 0.11628,
    "h": 104
  },
  "luminance": 0.24921
}

Semantic roles & 50–950 ramp

primary
#948B29
secondary
#5F67BA
accent
#55E048
background
#FBFAF6
surface
#F6F4EB
border
#D0CEC6
text
#121007
muted
#817F7A

Preview Lab

Preview with #948B29

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

Preview Lab → · Contrast checker → · Palette generator →

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