#B49727#B49727

#B49727 is a light, vivid yellow. Relative luminance 0.320; OKLCH L 68.4% C 0.128 H 93.6°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#B49727
RGBrgb(180, 151, 39)
HSLhsl(48, 64%, 43%)
HSVhsv(48, 78%, 71%)
CMYKcmyk(0%, 16.1%, 78.3%, 29.4%)
CIE-LABlab(63.33, -0.54, 58.61)
CIE-LCHlch(63.33, 58.62, 90.53°)
OKLaboklab(68.38% -0.0079 0.1277)
OKLCHoklch(68.38% 0.128 93.6)
XYZxyz(30.2569, 31.9848, 6.4991)
Luminance0.3198 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B49727 #2744B4
analogous
#B45127 #B49727 #8AB427
triadic
#B49727 #27B497 #9727B4
tetradic
#B49727 #27B451 #2744B4 #B4278A
square
#B49727 #27B451 #2744B4 #B4278A
split-complementary
#B49727 #278AB4 #5127B4
monochromatic
#4F4311 #826D1C #B49727 #D6B842 #E1CB74

Accessibility & contrast

On white

2.84
#B49727 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#B49727 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B49727
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B49727#FFFFFF#000000##000000
##B497271.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8940F
Deuteranopia (green-blind)
#AF9D2E
Tritanopia (blue-blind)
#C38A82
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #b49727;
/* rgb */ color: rgb(180, 151, 39);
/* oklch */ color: oklch(68.4% 0.128 93.6);
Tailwind
colors: {
  custom: {
    50: '#cfb56b',
    500: '#b49727',
    950: '#000000',
  },
}
SCSS
$custom: #b49727;
$custom-light: #cfb56b;
$custom-dark: #000000;
JSON
{
  "hex": "#b49727",
  "rgb": {
    "r": 180,
    "g": 151,
    "b": 39
  },
  "hsl": {
    "h": 47.66,
    "s": 64.384,
    "l": 42.941
  },
  "oklch": {
    "l": 0.68378,
    "c": 0.12794,
    "h": 93.6
  },
  "luminance": 0.31983
}

Semantic roles & 50–950 ramp

primary
#B49727
secondary
#6F81C8
accent
#63E740
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141107
muted
#83807A

Preview Lab

Preview with #B49727

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

Preview Lab → · Contrast checker → · Palette generator →

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