#B49E1F#B49E1F

#B49E1F is a light, vivid yellow. Relative luminance 0.343; OKLCH L 69.8% C 0.136 H 98.5°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#B49E1F
RGBrgb(180, 158, 31)
HSLhsl(51, 71%, 41%)
HSVhsv(51, 83%, 71%)
CMYKcmyk(0%, 12.2%, 82.8%, 29.4%)
CIE-LABlab(65.17, -4.58, 62.75)
CIE-LCHlch(65.17, 62.92, 94.18°)
OKLaboklab(69.82% -0.0201 0.135)
OKLCHoklch(69.82% 0.136 98.5)
XYZxyz(31.2982, 34.2576, 6.2599)
Luminance0.3426 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B49E1F #1F35B4
analogous
#B4541F #B49E1F #80B41F
triadic
#B49E1F #1FB49E #9E1FB4
tetradic
#B49E1F #1FB454 #1F35B4 #B41F80
square
#B49E1F #1FB454 #1F35B4 #B41F80
split-complementary
#B49E1F #1F80B4 #541FB4
monochromatic
#4C420D #807016 #B49E1F #DCC334 #E5D368

Accessibility & contrast

On white

2.67
#B49E1F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#B49E1F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B49E1F
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B49E1F#FFFFFF#000000##000000
##B49E1F1.002.677.857.85
#FFFFFF2.671.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9A00
Deuteranopia (green-blind)
#B4A129
Tritanopia (blue-blind)
#C39187
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b49e1f;
/* rgb */ color: rgb(180, 158, 31);
/* oklch */ color: oklch(69.8% 0.136 98.5);
Tailwind
colors: {
  custom: {
    50: '#cfba68',
    500: '#b49e1f',
    950: '#000000',
  },
}
SCSS
$custom: #b49e1f;
$custom-light: #cfba68;
$custom-dark: #000000;
JSON
{
  "hex": "#b49e1f",
  "rgb": {
    "r": 180,
    "g": 158,
    "b": 31
  },
  "hsl": {
    "h": 51.141,
    "s": 70.616,
    "l": 41.373
  },
  "oklch": {
    "l": 0.69819,
    "c": 0.13646,
    "h": 98.5
  },
  "luminance": 0.34256
}

Semantic roles & 50–950 ramp

primary
#B49E1F
secondary
#6473CB
accent
#55ED3A
background
#FDFBF6
surface
#FAF6EB
border
#D3D0C6
text
#141107
muted
#83807A

Preview Lab

Preview with #B49E1F

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

Preview Lab → · Contrast checker → · Palette generator →

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