#B29938#B29938

#B29938 is a light, moderate yellow. Relative luminance 0.325; OKLCH L 68.7% C 0.118 H 94.5°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#B29938
RGBrgb(178, 153, 56)
HSLhsl(48, 52%, 46%)
HSVhsv(48, 69%, 70%)
CMYKcmyk(0%, 14%, 68.5%, 30.2%)
CIE-LABlab(63.78, -1.70, 52.36)
CIE-LCHlch(63.78, 52.39, 91.86°)
OKLaboklab(68.73% -0.0093 0.1178)
OKLCHoklch(68.73% 0.118 94.5)
XYZxyz(30.4666, 32.5346, 8.4157)
Luminance0.3253 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B29938 #3851B2
analogous
#B25C38 #B29938 #8EB238
triadic
#B29938 #38B299 #9938B2
tetradic
#B29938 #38B25C #3851B2 #B2388E
square
#B29938 #38B25C #3851B2 #B2388E
split-complementary
#B29938 #388EB2 #5C38B2
monochromatic
#55491B #837129 #B29938 #CCB55C #DACA8A

Accessibility & contrast

On white

2.80
#B29938 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#B29938 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B29938
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B29938#FFFFFF#000000##000000
##B299381.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9962B
Deuteranopia (green-blind)
#AF9E3D
Tritanopia (blue-blind)
#C08D85
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b29938;
/* rgb */ color: rgb(178, 153, 56);
/* oklch */ color: oklch(68.7% 0.118 94.5);
Tailwind
colors: {
  custom: {
    50: '#ccb674',
    500: '#b29938',
    950: '#000000',
  },
}
SCSS
$custom: #b29938;
$custom-light: #ccb674;
$custom-dark: #000000;
JSON
{
  "hex": "#b29938",
  "rgb": {
    "r": 178,
    "g": 153,
    "b": 56
  },
  "hsl": {
    "h": 47.705,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.68726,
    "c": 0.11814,
    "h": 94.5
  },
  "luminance": 0.32533
}

Semantic roles & 50–950 ramp

primary
#B29938
secondary
#818FC5
accent
#6ADC4C
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B

Preview Lab

Preview with #B29938

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

Preview Lab → · Contrast checker → · Palette generator →

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