#B29728#B29728

#B29728 is a light, vivid yellow. Relative luminance 0.318; OKLCH L 68.2% C 0.127 H 94.6°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#B29728
RGBrgb(178, 151, 40)
HSLhsl(48, 63%, 43%)
HSVhsv(48, 78%, 70%)
CMYKcmyk(0%, 15.2%, 77.5%, 30.2%)
CIE-LABlab(63.14, -1.40, 58.02)
CIE-LCHlch(63.14, 58.03, 91.38°)
OKLaboklab(68.18% -0.0102 0.1267)
OKLCHoklch(68.18% 0.127 94.6)
XYZxyz(29.8113, 31.7531, 6.5658)
Luminance0.3175 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B29728 #2843B2
analogous
#B25228 #B29728 #88B228
triadic
#B29728 #28B297 #9728B2
tetradic
#B29728 #28B252 #2843B2 #B22888
square
#B29728 #28B252 #2843B2 #B22888
split-complementary
#B29728 #2888B2 #5228B2
monochromatic
#4E4212 #806D1D #B29728 #D5B843 #E0CB75

Accessibility & contrast

On white

2.86
#B29728 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#B29728 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B29728
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B29728#FFFFFF#000000##000000
##B297281.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89411
Deuteranopia (green-blind)
#AE9C2F
Tritanopia (blue-blind)
#C18B82
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b29728;
/* rgb */ color: rgb(178, 151, 40);
/* oklch */ color: oklch(68.2% 0.127 94.6);
Tailwind
colors: {
  custom: {
    50: '#cdb56b',
    500: '#b29728',
    950: '#000000',
  },
}
SCSS
$custom: #b29728;
$custom-light: #cdb56b;
$custom-dark: #000000;
JSON
{
  "hex": "#b29728",
  "rgb": {
    "r": 178,
    "g": 151,
    "b": 40
  },
  "hsl": {
    "h": 48.261,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.68182,
    "c": 0.12712,
    "h": 94.6
  },
  "luminance": 0.31751
}

Semantic roles & 50–950 ramp

primary
#B29728
secondary
#6F80C7
accent
#62E641
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141107
muted
#83807A

Preview Lab

Preview with #B29728

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

Preview Lab → · Contrast checker → · Palette generator →

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