#B7A92D#B7A92D

#B7A92D is a light, vivid yellow. Relative luminance 0.386; OKLCH L 72.5% C 0.138 H 102.6°. Best body text is #000000 at 8.73:1 contrast (WCAG AA passes).

Color values

HEX#B7A92D
RGBrgb(183, 169, 45)
HSLhsl(54, 61%, 45%)
HSVhsv(54, 75%, 72%)
CMYKcmyk(0%, 7.7%, 75.4%, 28.2%)
CIE-LABlab(68.49, -8.56, 61.42)
CIE-LCHlch(68.49, 62.01, 97.93°)
OKLaboklab(72.54% -0.0302 0.1347)
OKLCHoklch(72.54% 0.138 102.6)
XYZxyz(34.1916, 38.6342, 8.1382)
Luminance0.3863 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A92D #2D3BB7
analogous
#B7642D #B7A92D #80B72D
triadic
#B7A92D #2DB7A9 #A92DB7
tetradic
#B7A92D #2DB764 #2D3BB7 #B72D80
square
#B7A92D #2DB764 #2D3BB7 #B72D80
split-complementary
#B7A92D #2D80B7 #642DB7
monochromatic
#554E15 #867C21 #B7A92D #D3C64E #DFD67F

Accessibility & contrast

On white

2.41
#B7A92D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.73
#B7A92D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A92D
8.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A92D#FFFFFF#000000##000000
##B7A92D1.002.418.738.73
#FFFFFF2.411.0021.0021.00
#0000008.7321.001.001.00
##0000008.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A413
Deuteranopia (green-blind)
#BDAA36
Tritanopia (blue-blind)
#C59D91
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b7a92d;
/* rgb */ color: rgb(183, 169, 45);
/* oklch */ color: oklch(72.5% 0.138 102.6);
Tailwind
colors: {
  custom: {
    50: '#d0c270',
    500: '#b7a92d',
    950: '#000000',
  },
}
SCSS
$custom: #b7a92d;
$custom-light: #d0c270;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a92d",
  "rgb": {
    "r": 183,
    "g": 169,
    "b": 45
  },
  "hsl": {
    "h": 53.913,
    "s": 60.526,
    "l": 44.706
  },
  "oklch": {
    "l": 0.7254,
    "c": 0.13809,
    "h": 102.6
  },
  "luminance": 0.38633
}

Semantic roles & 50–950 ramp

primary
#B7A92D
secondary
#7880C8
accent
#54E444
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B7A92D

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

Preview Lab → · Contrast checker → · Palette generator →

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