#B49F1C#B49F1C

#B49F1C is a light, vivid yellow. Relative luminance 0.346; OKLCH L 70.0% C 0.138 H 99.2°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).

Color values

HEX#B49F1C
RGBrgb(180, 159, 28)
HSLhsl(52, 73%, 41%)
HSVhsv(52, 84%, 71%)
CMYKcmyk(0%, 11.7%, 84.4%, 29.4%)
CIE-LABlab(65.42, -5.20, 63.78)
CIE-LCHlch(65.42, 63.99, 94.66°)
OKLaboklab(70.02% -0.0221 0.1366)
OKLCHoklch(70.02% 0.138 99.2)
XYZxyz(31.4318, 34.5851, 6.1184)
Luminance0.3458 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B49F1C #1C31B4
analogous
#B4531C #B49F1C #7DB41C
triadic
#B49F1C #1CB49F #9F1CB4
tetradic
#B49F1C #1CB453 #1C31B4 #B41C7D
square
#B49F1C #1CB453 #1C31B4 #B41C7D
split-complementary
#B49F1C #1C7DB4 #531CB4
monochromatic
#4A410C #7F7014 #B49F1C #DFC62F #E7D564

Accessibility & contrast

On white

2.65
#B49F1C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.92
#B49F1C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B49F1C
7.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B49F1C#FFFFFF#000000##000000
##B49F1C1.002.657.927.92
#FFFFFF2.651.0021.0021.00
#0000007.9221.001.001.00
##0000007.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B09B00
Deuteranopia (green-blind)
#B5A227
Tritanopia (blue-blind)
#C39288
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b49f1c;
/* rgb */ color: rgb(180, 159, 28);
/* oklch */ color: oklch(70.0% 0.138 99.2);
Tailwind
colors: {
  custom: {
    50: '#cfba67',
    500: '#b49f1c',
    950: '#000000',
  },
}
SCSS
$custom: #b49f1c;
$custom-light: #cfba67;
$custom-dark: #000000;
JSON
{
  "hex": "#b49f1c",
  "rgb": {
    "r": 180,
    "g": 159,
    "b": 28
  },
  "hsl": {
    "h": 51.711,
    "s": 73.077,
    "l": 40.784
  },
  "oklch": {
    "l": 0.70019,
    "c": 0.1384,
    "h": 99.2
  },
  "luminance": 0.34583
}

Semantic roles & 50–950 ramp

primary
#B49F1C
secondary
#606FCC
accent
#51F038
background
#FDFBF6
surface
#FAF6EB
border
#D3D0C6
text
#151107
muted
#83807A

Preview Lab

Preview with #B49F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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