#B29940#B29940

#B29940 is a light, moderate yellow. Relative luminance 0.326; OKLCH L 68.8% C 0.112 H 93.5°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#B29940
RGBrgb(178, 153, 64)
HSLhsl(47, 47%, 47%)
HSVhsv(47, 64%, 70%)
CMYKcmyk(0%, 14%, 64%, 30.2%)
CIE-LABlab(63.85, -1.21, 48.88)
CIE-LCHlch(63.85, 48.89, 91.42°)
OKLaboklab(68.8% -0.0069 0.1117)
OKLCHoklch(68.8% 0.112 93.5)
XYZxyz(30.6782, 32.6192, 9.5297)
Luminance0.3262 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B29940 #4059B2
analogous
#B26040 #B29940 #92B240
triadic
#B29940 #40B299 #9940B2
tetradic
#B29940 #40B260 #4059B2 #B24092
square
#B29940 #40B260 #4059B2 #B24092
split-complementary
#B29940 #4092B2 #6040B2
monochromatic
#584C20 #857230 #B29940 #C8B367 #D8C994

Accessibility & contrast

On white

2.79
#B29940 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#B29940 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B29940
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B29940#FFFFFF#000000##000000
##B299401.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89636
Deuteranopia (green-blind)
#AF9E44
Tritanopia (blue-blind)
#C08E86
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b29940;
/* rgb */ color: rgb(178, 153, 64);
/* oklch */ color: oklch(68.8% 0.112 93.5);
Tailwind
colors: {
  custom: {
    50: '#ccb679',
    500: '#b29940',
    950: '#000000',
  },
}
SCSS
$custom: #b29940;
$custom-light: #ccb679;
$custom-dark: #000000;
JSON
{
  "hex": "#b29940",
  "rgb": {
    "r": 178,
    "g": 153,
    "b": 64
  },
  "hsl": {
    "h": 46.842,
    "s": 47.107,
    "l": 47.451
  },
  "oklch": {
    "l": 0.68802,
    "c": 0.11189,
    "h": 93.5
  },
  "luminance": 0.32618
}

Semantic roles & 50–950 ramp

primary
#B29940
secondary
#8A97C4
accent
#6ED751
background
#FCFBF7
surface
#F9F6ED
border
#D2D0C8
text
#141109
muted
#82807B

Preview Lab

Preview with #B29940

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

Preview Lab → · Contrast checker → · Palette generator →

#B29940 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva