#B7A33D#B7A33D

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

Color values

HEX#B7A33D
RGBrgb(183, 163, 61)
HSLhsl(50, 50%, 48%)
HSVhsv(50, 67%, 72%)
CMYKcmyk(0%, 10.9%, 66.7%, 28.2%)
CIE-LABlab(66.98, -4.58, 53.69)
CIE-LCHlch(66.98, 53.88, 94.87°)
OKLaboklab(71.38% -0.0172 0.1213)
OKLCHoklch(71.38% 0.122 98.1)
XYZxyz(33.4694, 36.6002, 9.7156)
Luminance0.3660 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A33D #3D51B7
analogous
#B7663D #B7A33D #8EB73D
triadic
#B7A33D #3DB7A3 #A33DB7
tetradic
#B7A33D #3DB766 #3D51B7 #B73D8E
square
#B7A33D #3DB766 #3D51B7 #B73D8E
split-complementary
#B7A33D #3D8EB7 #663DB7
monochromatic
#5B511E #897A2E #B7A33D #CCBB65 #DBCF93

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7A33D#FFFFFF#000000##000000
##B7A33D1.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)
#B39F30
Deuteranopia (green-blind)
#B8A643
Tritanopia (blue-blind)
#C5978E
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b7a33d;
/* rgb */ color: rgb(183, 163, 61);
/* oklch */ color: oklch(71.4% 0.122 98.1);
Tailwind
colors: {
  custom: {
    50: '#d0bd78',
    500: '#b7a33d',
    950: '#000000',
  },
}
SCSS
$custom: #b7a33d;
$custom-light: #d0bd78;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a33d",
  "rgb": {
    "r": 183,
    "g": 163,
    "b": 61
  },
  "hsl": {
    "h": 50.164,
    "s": 50,
    "l": 47.843
  },
  "oklch": {
    "l": 0.71377,
    "c": 0.12248,
    "h": 98.1
  },
  "luminance": 0.36599
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B7A33D

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

Preview Lab → · Contrast checker → · Palette generator →

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