#B7B135#B7B135

#B7B135 is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.3% C 0.141 H 106.6°. Best body text is #000000 at 9.35:1 contrast (WCAG AA passes).

Color values

HEX#B7B135
RGBrgb(183, 177, 53)
HSLhsl(57, 55%, 46%)
HSVhsv(57, 71%, 72%)
CMYKcmyk(0%, 3.3%, 71%, 28.2%)
CIE-LABlab(70.71, -12.35, 60.68)
CIE-LCHlch(70.71, 61.92, 101.50°)
OKLaboklab(74.33% -0.0401 0.1347)
OKLCHoklch(74.33% 0.141 106.6)
XYZxyz(35.8946, 41.7699, 9.5391)
Luminance0.4177 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7B135 #353BB7
analogous
#B77035 #B7B135 #7CB735
triadic
#B7B135 #35B7B1 #B135B7
tetradic
#B7B135 #35B770 #353BB7 #B7357C
square
#B7B135 #35B770 #353BB7 #B7357C
split-complementary
#B7B135 #357CB7 #7035B7
monochromatic
#58551A #888327 #B7B135 #CFCA5A #DDD989

Accessibility & contrast

On white

2.25
#B7B135 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.35
#B7B135 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7B135
9.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7B135#FFFFFF#000000##000000
##B7B1351.002.259.359.35
#FFFFFF2.251.0021.0021.00
#0000009.3521.001.001.00
##0000009.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA20
Deuteranopia (green-blind)
#C3AF3E
Tritanopia (blue-blind)
#C4A599
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b7b135;
/* rgb */ color: rgb(183, 177, 53);
/* oklch */ color: oklch(74.3% 0.141 106.6);
Tailwind
colors: {
  custom: {
    50: '#d0c875',
    500: '#b7b135',
    950: '#000000',
  },
}
SCSS
$custom: #b7b135;
$custom-light: #d0c875;
$custom-dark: #000000;
JSON
{
  "hex": "#b7b135",
  "rgb": {
    "r": 183,
    "g": 177,
    "b": 53
  },
  "hsl": {
    "h": 57.231,
    "s": 55.085,
    "l": 46.275
  },
  "oklch": {
    "l": 0.74328,
    "c": 0.1405,
    "h": 106.6
  },
  "luminance": 0.41769
}

Semantic roles & 50–950 ramp

primary
#B7B135
secondary
#8184C7
accent
#50DE49
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B7B135

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

Preview Lab → · Contrast checker → · Palette generator →

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