#B49923#B49923

#B49923 is a light, vivid yellow. Relative luminance 0.326; OKLCH L 68.8% C 0.131 H 95.2°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#B49923
RGBrgb(180, 153, 35)
HSLhsl(49, 67%, 42%)
HSVhsv(49, 81%, 71%)
CMYKcmyk(0%, 15%, 80.6%, 29.4%)
CIE-LABlab(63.84, -1.77, 60.40)
CIE-LCHlch(63.84, 60.43, 91.68°)
OKLaboklab(68.78% -0.0118 0.1307)
OKLCHoklch(68.78% 0.131 95.2)
XYZxyz(30.5187, 32.6089, 6.2765)
Luminance0.3261 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B49923 #233EB4
analogous
#B45123 #B49923 #86B423
triadic
#B49923 #23B499 #9923B4
tetradic
#B49923 #23B451 #233EB4 #B42386
square
#B49923 #23B451 #233EB4 #B42386
split-complementary
#B49923 #2386B4 #5123B4
monochromatic
#4E420F #816D19 #B49923 #D9BC3B #E3CD6E

Accessibility & contrast

On white

2.79
#B49923 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#B49923 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B49923
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B49923#FFFFFF#000000##000000
##B499231.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9602
Deuteranopia (green-blind)
#B19E2B
Tritanopia (blue-blind)
#C38C83
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b49923;
/* rgb */ color: rgb(180, 153, 35);
/* oklch */ color: oklch(68.8% 0.131 95.2);
Tailwind
colors: {
  custom: {
    50: '#cfb669',
    500: '#b49923',
    950: '#000000',
  },
}
SCSS
$custom: #b49923;
$custom-light: #cfb669;
$custom-dark: #000000;
JSON
{
  "hex": "#b49923",
  "rgb": {
    "r": 180,
    "g": 153,
    "b": 35
  },
  "hsl": {
    "h": 48.828,
    "s": 67.442,
    "l": 42.157
  },
  "oklch": {
    "l": 0.68776,
    "c": 0.13123,
    "h": 95.2
  },
  "luminance": 0.32607
}

Semantic roles & 50–950 ramp

primary
#B49923
secondary
#697BC9
accent
#5EEA3D
background
#FDFBF6
surface
#FAF6EB
border
#D3D0C6
text
#141107
muted
#83807A

Preview Lab

Preview with #B49923

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

Preview Lab → · Contrast checker → · Palette generator →

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