#B7A33C#B7A33C

#B7A33C is a light, vivid yellow. Relative luminance 0.366; OKLCH L 71.4% C 0.123 H 98.2°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#B7A33C
RGBrgb(183, 163, 60)
HSLhsl(50, 51%, 48%)
HSVhsv(50, 67%, 72%)
CMYKcmyk(0%, 10.9%, 67.2%, 28.2%)
CIE-LABlab(66.97, -4.63, 54.11)
CIE-LCHlch(66.97, 54.31, 94.89°)
OKLaboklab(71.37% -0.0175 0.122)
OKLCHoklch(71.37% 0.123 98.2)
XYZxyz(33.4428, 36.5895, 9.5750)
Luminance0.3659 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A33C #3C50B7
analogous
#B7663C #B7A33C #8DB73C
triadic
#B7A33C #3CB7A3 #A33CB7
tetradic
#B7A33C #3CB766 #3C50B7 #B73C8D
square
#B7A33C #3CB766 #3C50B7 #B73C8D
split-complementary
#B7A33C #3C8DB7 #663CB7
monochromatic
#5B511E #897A2D #B7A33C #CCBB64 #DBCF92

Accessibility & contrast

On white

2.52
#B7A33C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#B7A33C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A33C
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A33C#FFFFFF#000000##000000
##B7A33C1.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F2F
Deuteranopia (green-blind)
#B8A642
Tritanopia (blue-blind)
#C5978E
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b7a33c;
/* rgb */ color: rgb(183, 163, 60);
/* oklch */ color: oklch(71.4% 0.123 98.2);
Tailwind
colors: {
  custom: {
    50: '#d0bd77',
    500: '#b7a33c',
    950: '#000000',
  },
}
SCSS
$custom: #b7a33c;
$custom-light: #d0bd77;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a33c",
  "rgb": {
    "r": 183,
    "g": 163,
    "b": 60
  },
  "hsl": {
    "h": 50.244,
    "s": 50.617,
    "l": 47.647
  },
  "oklch": {
    "l": 0.71368,
    "c": 0.12324,
    "h": 98.2
  },
  "luminance": 0.36588
}

Semantic roles & 50–950 ramp

primary
#B7A33C
secondary
#8892C6
accent
#65DA4E
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B7A33C

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

Preview Lab → · Contrast checker → · Palette generator →

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