#B7A82F#B7A82F

#B7A82F is a light, vivid yellow. Relative luminance 0.383; OKLCH L 72.3% C 0.136 H 102.0°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#B7A82F
RGBrgb(183, 168, 47)
HSLhsl(53, 59%, 45%)
HSVhsv(53, 74%, 72%)
CMYKcmyk(0%, 8.2%, 74.3%, 28.2%)
CIE-LABlab(68.23, -7.95, 60.47)
CIE-LCHlch(68.23, 60.99, 97.49°)
OKLaboklab(72.34% -0.0283 0.1331)
OKLCHoklch(72.34% 0.136 102)
XYZxyz(34.0457, 38.2793, 8.2841)
Luminance0.3828 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A82F #2F3EB7
analogous
#B7642F #B7A82F #82B72F
triadic
#B7A82F #2FB7A8 #A82FB7
tetradic
#B7A82F #2FB764 #2F3EB7 #B72F82
square
#B7A82F #2FB764 #2F3EB7 #B72F82
split-complementary
#B7A82F #2F82B7 #642FB7
monochromatic
#564F16 #867B22 #B7A82F #D2C451 #DFD582

Accessibility & contrast

On white

2.43
#B7A82F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.66
#B7A82F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A82F
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A82F#FFFFFF#000000##000000
##B7A82F1.002.438.668.66
#FFFFFF2.431.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A318
Deuteranopia (green-blind)
#BCA937
Tritanopia (blue-blind)
#C59C91
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #b7a82f;
/* rgb */ color: rgb(183, 168, 47);
/* oklch */ color: oklch(72.3% 0.136 102.0);
Tailwind
colors: {
  custom: {
    50: '#d0c170',
    500: '#b7a82f',
    950: '#000000',
  },
}
SCSS
$custom: #b7a82f;
$custom-light: #d0c170;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a82f",
  "rgb": {
    "r": 183,
    "g": 168,
    "b": 47
  },
  "hsl": {
    "h": 53.382,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.72338,
    "c": 0.13609,
    "h": 102
  },
  "luminance": 0.38278
}

Semantic roles & 50–950 ramp

primary
#B7A82F
secondary
#7A83C8
accent
#57E245
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B7A82F

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

Preview Lab → · Contrast checker → · Palette generator →

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