#B7A633#B7A633

#B7A633 is a light, vivid yellow. Relative luminance 0.376; OKLCH L 71.9% C 0.132 H 100.7°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).

Color values

HEX#B7A633
RGBrgb(183, 166, 51)
HSLhsl(52, 56%, 46%)
HSVhsv(52, 72%, 72%)
CMYKcmyk(0%, 9.3%, 72.1%, 28.2%)
CIE-LABlab(67.71, -6.71, 58.49)
CIE-LCHlch(67.71, 58.88, 96.54°)
OKLaboklab(71.94% -0.0244 0.1297)
OKLCHoklch(71.94% 0.132 100.7)
XYZxyz(33.7638, 37.5803, 8.6066)
Luminance0.3758 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A633 #3344B7
analogous
#B76433 #B7A633 #86B733
triadic
#B7A633 #33B7A6 #A633B7
tetradic
#B7A633 #33B764 #3344B7 #B73386
square
#B7A633 #33B764 #3344B7 #B73386
split-complementary
#B7A633 #3386B7 #6433B7
monochromatic
#574F18 #877B26 #B7A633 #D0C157 #DED287

Accessibility & contrast

On white

2.47
#B7A633 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.52
#B7A633 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A633
8.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A633#FFFFFF#000000##000000
##B7A6331.002.478.528.52
#FFFFFF2.471.0021.0021.00
#0000008.5221.001.001.00
##0000008.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A120
Deuteranopia (green-blind)
#BBA83A
Tritanopia (blue-blind)
#C59A8F
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #b7a633;
/* rgb */ color: rgb(183, 166, 51);
/* oklch */ color: oklch(71.9% 0.132 100.7);
Tailwind
colors: {
  custom: {
    50: '#d0c072',
    500: '#b7a633',
    950: '#000000',
  },
}
SCSS
$custom: #b7a633;
$custom-light: #d0c072;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a633",
  "rgb": {
    "r": 183,
    "g": 166,
    "b": 51
  },
  "hsl": {
    "h": 52.273,
    "s": 56.41,
    "l": 45.882
  },
  "oklch": {
    "l": 0.71936,
    "c": 0.13194,
    "h": 100.7
  },
  "luminance": 0.37579
}

Semantic roles & 50–950 ramp

primary
#B7A633
secondary
#7F88C7
accent
#5CE048
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B7A633

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

Preview Lab → · Contrast checker → · Palette generator →

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