#B7A43F#B7A43F

#B7A43F is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.6% C 0.122 H 98.6°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#B7A43F
RGBrgb(183, 164, 63)
HSLhsl(51, 49%, 48%)
HSVhsv(51, 66%, 72%)
CMYKcmyk(0%, 10.4%, 65.6%, 28.2%)
CIE-LABlab(67.26, -4.99, 53.13)
CIE-LCHlch(67.26, 53.36, 95.36°)
OKLaboklab(71.61% -0.0181 0.1204)
OKLCHoklch(71.61% 0.122 98.6)
XYZxyz(33.7026, 36.9786, 10.0640)
Luminance0.3698 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A43F #3F52B7
analogous
#B7683F #B7A43F #8EB73F
triadic
#B7A43F #3FB7A4 #A43FB7
tetradic
#B7A43F #3FB768 #3F52B7 #B73F8E
square
#B7A43F #3FB768 #3F52B7 #B73F8E
split-complementary
#B7A43F #3F8EB7 #683FB7
monochromatic
#5C5220 #897B2F #B7A43F #CBBB68 #DBD096

Accessibility & contrast

On white

2.50
#B7A43F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#B7A43F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A43F
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A43F#FFFFFF#000000##000000
##B7A43F1.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A033
Deuteranopia (green-blind)
#B8A744
Tritanopia (blue-blind)
#C5988F
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b7a43f;
/* rgb */ color: rgb(183, 164, 63);
/* oklch */ color: oklch(71.6% 0.122 98.6);
Tailwind
colors: {
  custom: {
    50: '#d0be79',
    500: '#b7a43f',
    950: '#000000',
  },
}
SCSS
$custom: #b7a43f;
$custom-light: #d0be79;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a43f",
  "rgb": {
    "r": 183,
    "g": 164,
    "b": 63
  },
  "hsl": {
    "h": 50.5,
    "s": 48.78,
    "l": 48.235
  },
  "oklch": {
    "l": 0.71608,
    "c": 0.12175,
    "h": 98.6
  },
  "luminance": 0.36977
}

Semantic roles & 50–950 ramp

primary
#B7A43F
secondary
#8B95C6
accent
#65D84F
background
#FDFBF7
surface
#FAF6EE
border
#D3D0C9
text
#141209
muted
#83817B

Preview Lab

Preview with #B7A43F

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

Preview Lab → · Contrast checker → · Palette generator →

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