#B9A63F#B9A63F

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

Color values

HEX#B9A63F
RGBrgb(185, 166, 63)
HSLhsl(51, 49%, 49%)
HSVhsv(51, 66%, 73%)
CMYKcmyk(0%, 10.3%, 65.9%, 27.5%)
CIE-LABlab(67.98, -5.18, 53.94)
CIE-LCHlch(67.98, 54.19, 95.48°)
OKLaboklab(72.22% -0.0188 0.1221)
OKLCHoklch(72.22% 0.124 98.8)
XYZxyz(34.5425, 37.9472, 10.2067)
Luminance0.3795 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9A63F #3F52B9
analogous
#B9693F #B9A63F #8FB93F
triadic
#B9A63F #3FB9A6 #A63FB9
tetradic
#B9A63F #3FB969 #3F52B9 #B93F8F
square
#B9A63F #3FB969 #3F52B9 #B93F8F
split-complementary
#B9A63F #3F8FB9 #693FB9
monochromatic
#5E5420 #8B7D2F #B9A63F #CCBD69 #DCD197

Accessibility & contrast

On white

2.44
#B9A63F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9A63F#FFFFFF#000000##000000
##B9A63F1.002.448.598.59
#FFFFFF2.441.0021.0021.00
#0000008.5921.001.001.00
##0000008.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A232
Deuteranopia (green-blind)
#BBA945
Tritanopia (blue-blind)
#C79A91
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b9a63f;
/* rgb */ color: rgb(185, 166, 63);
/* oklch */ color: oklch(72.2% 0.123 98.8);
Tailwind
colors: {
  custom: {
    50: '#d1c079',
    500: '#b9a63f',
    950: '#000000',
  },
}
SCSS
$custom: #b9a63f;
$custom-light: #d1c079;
$custom-dark: #000000;
JSON
{
  "hex": "#b9a63f",
  "rgb": {
    "r": 185,
    "g": 166,
    "b": 63
  },
  "hsl": {
    "h": 50.656,
    "s": 49.194,
    "l": 48.627
  },
  "oklch": {
    "l": 0.72223,
    "c": 0.1235,
    "h": 98.8
  },
  "luminance": 0.37946
}

Semantic roles & 50–950 ramp

primary
#B9A63F
secondary
#8D96C7
accent
#65D94F
background
#FDFBF7
surface
#FAF7EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B9A63F

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

Preview Lab → · Contrast checker → · Palette generator →

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