#B49823#B49823

#B49823 is a light, vivid yellow. Relative luminance 0.323; OKLCH L 68.6% C 0.131 H 94.5°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#B49823
RGBrgb(180, 152, 35)
HSLhsl(48, 67%, 42%)
HSVhsv(48, 81%, 71%)
CMYKcmyk(0%, 15.6%, 80.6%, 29.4%)
CIE-LABlab(63.58, -1.23, 60.16)
CIE-LCHlch(63.58, 60.18, 91.17°)
OKLaboklab(68.57% -0.0103 0.1302)
OKLCHoklch(68.57% 0.131 94.5)
XYZxyz(30.3557, 32.2829, 6.2221)
Luminance0.3228 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B49823 #233FB4
analogous
#B45023 #B49823 #87B423
triadic
#B49823 #23B498 #9823B4
tetradic
#B49823 #23B450 #233FB4 #B42387
square
#B49823 #23B450 #233FB4 #B42387
split-complementary
#B49823 #2387B4 #5023B4
monochromatic
#4E410F #816D19 #B49823 #D9BA3B #E3CC6E

Accessibility & contrast

On white

2.82
#B49823 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.46
#B49823 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B49823
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B49823#FFFFFF#000000##000000
##B498231.002.827.467.46
#FFFFFF2.821.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99503
Deuteranopia (green-blind)
#B09E2B
Tritanopia (blue-blind)
#C38B82
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #b49823;
/* rgb */ color: rgb(180, 152, 35);
/* oklch */ color: oklch(68.6% 0.131 94.5);
Tailwind
colors: {
  custom: {
    50: '#cfb569',
    500: '#b49823',
    950: '#000000',
  },
}
SCSS
$custom: #b49823;
$custom-light: #cfb569;
$custom-dark: #000000;
JSON
{
  "hex": "#b49823",
  "rgb": {
    "r": 180,
    "g": 152,
    "b": 35
  },
  "hsl": {
    "h": 48.414,
    "s": 67.442,
    "l": 42.157
  },
  "oklch": {
    "l": 0.68565,
    "c": 0.13059,
    "h": 94.5
  },
  "luminance": 0.32281
}

Semantic roles & 50–950 ramp

primary
#B49823
secondary
#697CC9
accent
#5FEA3D
background
#FDFBF6
surface
#FAF6EB
border
#D3D0C6
text
#141107
muted
#83807A

Preview Lab

Preview with #B49823

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

Preview Lab → · Contrast checker → · Palette generator →

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