#B29D38#B29D38

#B29D38 is a light, vivid yellow. Relative luminance 0.339; OKLCH L 69.6% C 0.121 H 97.3°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#B29D38
RGBrgb(178, 157, 56)
HSLhsl(50, 52%, 46%)
HSVhsv(50, 69%, 70%)
CMYKcmyk(0%, 11.8%, 68.5%, 30.2%)
CIE-LABlab(64.86, -3.85, 53.47)
CIE-LCHlch(64.86, 53.61, 94.12°)
OKLaboklab(69.58% -0.0154 0.1201)
OKLCHoklch(69.58% 0.121 97.3)
XYZxyz(31.1323, 33.8660, 8.6376)
Luminance0.3386 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B29D38 #384DB2
analogous
#B26038 #B29D38 #8AB238
triadic
#B29D38 #38B29D #9D38B2
tetradic
#B29D38 #38B260 #384DB2 #B2388A
square
#B29D38 #38B260 #384DB2 #B2388A
split-complementary
#B29D38 #388AB2 #6038B2
monochromatic
#554B1B #837429 #B29D38 #CCB85C #DACC8A

Accessibility & contrast

On white

2.70
#B29D38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#B29D38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B29D38
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B29D38#FFFFFF#000000##000000
##B29D381.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC992A
Deuteranopia (green-blind)
#B2A03E
Tritanopia (blue-blind)
#C09188
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #b29d38;
/* rgb */ color: rgb(178, 157, 56);
/* oklch */ color: oklch(69.6% 0.121 97.3);
Tailwind
colors: {
  custom: {
    50: '#ccb974',
    500: '#b29d38',
    950: '#000000',
  },
}
SCSS
$custom: #b29d38;
$custom-light: #ccb974;
$custom-dark: #000000;
JSON
{
  "hex": "#b29d38",
  "rgb": {
    "r": 178,
    "g": 157,
    "b": 56
  },
  "hsl": {
    "h": 49.672,
    "s": 52.137,
    "l": 45.882
  },
  "oklch": {
    "l": 0.69575,
    "c": 0.12112,
    "h": 97.3
  },
  "luminance": 0.33864
}

Semantic roles & 50–950 ramp

primary
#B29D38
secondary
#818DC5
accent
#65DC4C
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B

Preview Lab

Preview with #B29D38

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

Preview Lab → · Contrast checker → · Palette generator →

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