#B49D38#B49D38

#B49D38 is a light, vivid yellow. Relative luminance 0.341; OKLCH L 69.8% C 0.121 H 96.2°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#B49D38
RGBrgb(180, 157, 56)
HSLhsl(49, 53%, 46%)
HSVhsv(49, 69%, 71%)
CMYKcmyk(0%, 12.8%, 68.9%, 29.4%)
CIE-LABlab(65.05, -2.97, 53.73)
CIE-LCHlch(65.05, 53.81, 93.17°)
OKLaboklab(69.77% -0.013 0.1206)
OKLCHoklch(69.77% 0.121 96.2)
XYZxyz(31.5947, 34.1044, 8.6592)
Luminance0.3410 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B49D38 #384FB4
analogous
#B45F38 #B49D38 #8DB438
triadic
#B49D38 #38B49D #9D38B4
tetradic
#B49D38 #38B45F #384FB4 #B4388D
square
#B49D38 #38B45F #384FB4 #B4388D
split-complementary
#B49D38 #388DB4 #5F38B4
monochromatic
#574C1B #857429 #B49D38 #CDB85D #DBCC8B

Accessibility & contrast

On white

2.69
#B49D38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#B49D38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B49D38
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B49D38#FFFFFF#000000##000000
##B49D381.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9A2A
Deuteranopia (green-blind)
#B3A13D
Tritanopia (blue-blind)
#C29188
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b49d38;
/* rgb */ color: rgb(180, 157, 56);
/* oklch */ color: oklch(69.8% 0.121 96.2);
Tailwind
colors: {
  custom: {
    50: '#ceb974',
    500: '#b49d38',
    950: '#000000',
  },
}
SCSS
$custom: #b49d38;
$custom-light: #ceb974;
$custom-dark: #000000;
JSON
{
  "hex": "#b49d38",
  "rgb": {
    "r": 180,
    "g": 157,
    "b": 56
  },
  "hsl": {
    "h": 48.871,
    "s": 52.542,
    "l": 46.275
  },
  "oklch": {
    "l": 0.6977,
    "c": 0.1213,
    "h": 96.2
  },
  "luminance": 0.34103
}

Semantic roles & 50–950 ramp

primary
#B49D38
secondary
#828FC5
accent
#67DC4C
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141109
muted
#83807B

Preview Lab

Preview with #B49D38

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

Preview Lab → · Contrast checker → · Palette generator →

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