#B7A936#B7A936

#B7A936 is a light, vivid yellow. Relative luminance 0.387; OKLCH L 72.6% C 0.133 H 102.3°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).

Color values

HEX#B7A936
RGBrgb(183, 169, 54)
HSLhsl(53, 54%, 46%)
HSVhsv(53, 70%, 72%)
CMYKcmyk(0%, 7.7%, 70.5%, 28.2%)
CIE-LABlab(68.54, -8.14, 58.16)
CIE-LCHlch(68.54, 58.72, 97.96°)
OKLaboklab(72.6% -0.0281 0.1295)
OKLCHoklch(72.6% 0.133 102.3)
XYZxyz(34.3838, 38.7110, 9.1501)
Luminance0.3871 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A936 #3644B7
analogous
#B76936 #B7A936 #85B736
triadic
#B7A936 #36B7A9 #A936B7
tetradic
#B7A936 #36B769 #3644B7 #B73685
square
#B7A936 #36B769 #3644B7 #B73685
split-complementary
#B7A936 #3685B7 #6936B7
monochromatic
#58521A #887D28 #B7A936 #CFC25B #DDD48B

Accessibility & contrast

On white

2.40
#B7A936 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.74
#B7A936 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A936
8.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A936#FFFFFF#000000##000000
##B7A9361.002.408.748.74
#FFFFFF2.401.0021.0021.00
#0000008.7421.001.001.00
##0000008.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A424
Deuteranopia (green-blind)
#BDAA3D
Tritanopia (blue-blind)
#C59D92
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #b7a936;
/* rgb */ color: rgb(183, 169, 54);
/* oklch */ color: oklch(72.6% 0.133 102.3);
Tailwind
colors: {
  custom: {
    50: '#d0c274',
    500: '#b7a936',
    950: '#000000',
  },
}
SCSS
$custom: #b7a936;
$custom-light: #d0c274;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a936",
  "rgb": {
    "r": 183,
    "g": 169,
    "b": 54
  },
  "hsl": {
    "h": 53.488,
    "s": 54.43,
    "l": 46.471
  },
  "oklch": {
    "l": 0.72603,
    "c": 0.13253,
    "h": 102.3
  },
  "luminance": 0.3871
}

Semantic roles & 50–950 ramp

primary
#B7A936
secondary
#8289C7
accent
#5ADE4A
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141209
muted
#83817B

Preview Lab

Preview with #B7A936

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

Preview Lab → · Contrast checker → · Palette generator →

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