#B9A63E#B9A63E

#B9A63E is a light, vivid yellow. Relative luminance 0.379; OKLCH L 72.2% C 0.124 H 98.8°. Best body text is #000000 at 8.59:1 contrast (WCAG AA passes).

Color values

HEX#B9A63E
RGBrgb(185, 166, 62)
HSLhsl(51, 50%, 48%)
HSVhsv(51, 66%, 73%)
CMYKcmyk(0%, 10.3%, 66.5%, 27.5%)
CIE-LABlab(67.97, -5.24, 54.36)
CIE-LCHlch(67.97, 54.62, 95.50°)
OKLaboklab(72.21% -0.0191 0.1228)
OKLCHoklch(72.21% 0.124 98.8)
XYZxyz(34.5148, 37.9361, 10.0609)
Luminance0.3794 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9A63E #3E51B9
analogous
#B9683E #B9A63E #8EB93E
triadic
#B9A63E #3EB9A6 #A63EB9
tetradic
#B9A63E #3EB968 #3E51B9 #B93E8E
square
#B9A63E #3EB968 #3E51B9 #B93E8E
split-complementary
#B9A63E #3E8EB9 #683EB9
monochromatic
#5D541F #8B7D2F #B9A63E #CCBD68 #DCD196

Accessibility & contrast

On white

2.45
#B9A63E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.59
#B9A63E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B9A63E
8.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9A63E#FFFFFF#000000##000000
##B9A63E1.002.458.598.59
#FFFFFF2.451.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A231
Deuteranopia (green-blind)
#BBA944
Tritanopia (blue-blind)
#C79A90
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b9a63e;
/* rgb */ color: rgb(185, 166, 62);
/* oklch */ color: oklch(72.2% 0.124 98.8);
Tailwind
colors: {
  custom: {
    50: '#d1c079',
    500: '#b9a63e',
    950: '#000000',
  },
}
SCSS
$custom: #b9a63e;
$custom-light: #d1c079;
$custom-dark: #000000;
JSON
{
  "hex": "#b9a63e",
  "rgb": {
    "r": 185,
    "g": 166,
    "b": 62
  },
  "hsl": {
    "h": 50.732,
    "s": 49.798,
    "l": 48.431
  },
  "oklch": {
    "l": 0.72214,
    "c": 0.12427,
    "h": 98.8
  },
  "luminance": 0.37935
}

Semantic roles & 50–950 ramp

primary
#B9A63E
secondary
#8C95C7
accent
#64D94E
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B9A63E

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

Preview Lab → · Contrast checker → · Palette generator →

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