#B7A335#B7A335

#B7A335 is a light, vivid yellow. Relative luminance 0.365; OKLCH L 71.3% C 0.128 H 98.7°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#B7A335
RGBrgb(183, 163, 53)
HSLhsl(51, 55%, 46%)
HSVhsv(51, 71%, 72%)
CMYKcmyk(0%, 10.9%, 71%, 28.2%)
CIE-LABlab(66.92, -5.02, 56.93)
CIE-LCHlch(66.92, 57.15, 95.04°)
OKLaboklab(71.31% -0.0194 0.1267)
OKLCHoklch(71.31% 0.128 98.7)
XYZxyz(33.2698, 36.5203, 8.6642)
Luminance0.3652 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7A335 #3549B7
analogous
#B76235 #B7A335 #8AB735
triadic
#B7A335 #35B7A3 #A335B7
tetradic
#B7A335 #35B762 #3549B7 #B7358A
square
#B7A335 #35B762 #3549B7 #B7358A
split-complementary
#B7A335 #358AB7 #6235B7
monochromatic
#584E1A #887927 #B7A335 #CFBD5A #DDD089

Accessibility & contrast

On white

2.53
#B7A335 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.30
#B7A335 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7A335
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7A335#FFFFFF#000000##000000
##B7A3351.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F24
Deuteranopia (green-blind)
#B8A63C
Tritanopia (blue-blind)
#C5978D
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #b7a335;
/* rgb */ color: rgb(183, 163, 53);
/* oklch */ color: oklch(71.3% 0.128 98.7);
Tailwind
colors: {
  custom: {
    50: '#d0bd73',
    500: '#b7a335',
    950: '#000000',
  },
}
SCSS
$custom: #b7a335;
$custom-light: #d0bd73;
$custom-dark: #000000;
JSON
{
  "hex": "#b7a335",
  "rgb": {
    "r": 183,
    "g": 163,
    "b": 53
  },
  "hsl": {
    "h": 50.769,
    "s": 55.085,
    "l": 46.275
  },
  "oklch": {
    "l": 0.7131,
    "c": 0.12821,
    "h": 98.7
  },
  "luminance": 0.36519
}

Semantic roles & 50–950 ramp

primary
#B7A335
secondary
#818CC7
accent
#60DE49
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B7A335

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

Preview Lab → · Contrast checker → · Palette generator →

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