#B29828#B29828

#B29828 is a light, vivid yellow. Relative luminance 0.321; OKLCH L 68.4% C 0.128 H 95.3°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#B29828
RGBrgb(178, 152, 40)
HSLhsl(49, 63%, 43%)
HSVhsv(49, 78%, 70%)
CMYKcmyk(0%, 14.6%, 77.5%, 30.2%)
CIE-LABlab(63.41, -1.94, 58.26)
CIE-LCHlch(63.41, 58.30, 91.90°)
OKLaboklab(68.39% -0.0117 0.1272)
OKLCHoklch(68.39% 0.128 95.3)
XYZxyz(29.9730, 32.0763, 6.6197)
Luminance0.3207 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B29828 #2842B2
analogous
#B25328 #B29828 #87B228
triadic
#B29828 #28B298 #9828B2
tetradic
#B29828 #28B253 #2842B2 #B22887
square
#B29828 #28B253 #2842B2 #B22887
split-complementary
#B29828 #2887B2 #5328B2
monochromatic
#4E4312 #806D1D #B29828 #D5B943 #E0CC75

Accessibility & contrast

On white

2.83
#B29828 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#B29828 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B29828
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B29828#FFFFFF#000000##000000
##B298281.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89511
Deuteranopia (green-blind)
#AF9D2F
Tritanopia (blue-blind)
#C18C83
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b29828;
/* rgb */ color: rgb(178, 152, 40);
/* oklch */ color: oklch(68.4% 0.128 95.3);
Tailwind
colors: {
  custom: {
    50: '#cdb56b',
    500: '#b29828',
    950: '#000000',
  },
}
SCSS
$custom: #b29828;
$custom-light: #cdb56b;
$custom-dark: #000000;
JSON
{
  "hex": "#b29828",
  "rgb": {
    "r": 178,
    "g": 152,
    "b": 40
  },
  "hsl": {
    "h": 48.696,
    "s": 63.303,
    "l": 42.745
  },
  "oklch": {
    "l": 0.68393,
    "c": 0.12778,
    "h": 95.3
  },
  "luminance": 0.32075
}

Semantic roles & 50–950 ramp

primary
#B29828
secondary
#6F7FC7
accent
#61E641
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141107
muted
#83807A

Preview Lab

Preview with #B29828

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

Preview Lab → · Contrast checker → · Palette generator →

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