#B49E2F#B49E2F

#B49E2F is a light, vivid yellow. Relative luminance 0.344; OKLCH L 69.9% C 0.128 H 97.6°. Best body text is #000000 at 7.87:1 contrast (WCAG AA passes).

Color values

HEX#B49E2F
RGBrgb(180, 158, 47)
HSLhsl(50, 59%, 45%)
HSVhsv(50, 74%, 71%)
CMYKcmyk(0%, 12.2%, 73.9%, 29.4%)
CIE-LABlab(65.25, -3.97, 57.53)
CIE-LCHlch(65.25, 57.66, 93.95°)
OKLaboklab(69.91% -0.0169 0.127)
OKLCHoklch(69.91% 0.128 97.6)
XYZxyz(31.5639, 34.3639, 7.6591)
Luminance0.3436 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B49E2F #2F45B4
analogous
#B45C2F #B49E2F #88B42F
triadic
#B49E2F #2FB49E #9E2FB4
tetradic
#B49E2F #2FB45C #2F45B4 #B42F88
square
#B49E2F #2FB45C #2F45B4 #B42F88
split-complementary
#B49E2F #2F88B4 #5C2FB4
monochromatic
#534916 #837322 #B49E2F #D1BC4F #DECE80

Accessibility & contrast

On white

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

On black

7.87
#B49E2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B49E2F
7.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B49E2F#FFFFFF#000000##000000
##B49E2F1.002.677.877.87
#FFFFFF2.671.0021.0021.00
#0000007.8721.001.001.00
##0000007.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A1C
Deuteranopia (green-blind)
#B4A236
Tritanopia (blue-blind)
#C29288
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b49e2f;
/* rgb */ color: rgb(180, 158, 47);
/* oklch */ color: oklch(69.9% 0.128 97.6);
Tailwind
colors: {
  custom: {
    50: '#ceba6f',
    500: '#b49e2f',
    950: '#000000',
  },
}
SCSS
$custom: #b49e2f;
$custom-light: #ceba6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b49e2f",
  "rgb": {
    "r": 180,
    "g": 158,
    "b": 47
  },
  "hsl": {
    "h": 50.075,
    "s": 58.59,
    "l": 44.51
  },
  "oklch": {
    "l": 0.69912,
    "c": 0.1281,
    "h": 97.6
  },
  "luminance": 0.34362
}

Semantic roles & 50–950 ramp

primary
#B49E2F
secondary
#7885C7
accent
#60E246
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B

Preview Lab

Preview with #B49E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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