#B7B935#B7B935

#B7B935 is a light, vivid yellow. Relative luminance 0.450; OKLCH L 76.1% C 0.148 H 110.3°. Best body text is #000000 at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#B7B935
RGBrgb(183, 185, 53)
HSLhsl(61, 55%, 47%)
HSVhsv(61, 71%, 73%)
CMYKcmyk(1.1%, 0%, 71.4%, 27.5%)
CIE-LABlab(72.91, -16.43, 62.81)
CIE-LCHlch(72.91, 64.92, 104.66°)
OKLaboklab(76.08% -0.0516 0.1392)
OKLCHoklch(76.08% 0.148 110.3)
XYZxyz(37.5213, 45.0233, 10.0813)
Luminance0.4502 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7B935 #3735B9
analogous
#B97935 #B7B935 #75B935
triadic
#B7B935 #35B7B9 #B935B7
tetradic
#B7B935 #35B979 #3735B9 #B93575
square
#B7B935 #35B979 #3735B9 #B93575
split-complementary
#B7B935 #3575B9 #7935B9
monochromatic
#595A1A #888927 #B7B935 #CED05B #DCDE8B

Accessibility & contrast

On white

2.10
#B7B935 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.00
#B7B935 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7B935
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7B935#FFFFFF#000000##000000
##B7B9351.002.1010.0010.00
#FFFFFF2.101.0021.0021.00
#00000010.0021.001.001.00
##00000010.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B11D
Deuteranopia (green-blind)
#C9B53F
Tritanopia (blue-blind)
#C4AD9F
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b7b935;
/* rgb */ color: rgb(183, 185, 53);
/* oklch */ color: oklch(76.1% 0.148 110.3);
Tailwind
colors: {
  custom: {
    50: '#d0cd75',
    500: '#b7b935',
    950: '#000000',
  },
}
SCSS
$custom: #b7b935;
$custom-light: #d0cd75;
$custom-dark: #000000;
JSON
{
  "hex": "#b7b935",
  "rgb": {
    "r": 183,
    "g": 185,
    "b": 53
  },
  "hsl": {
    "h": 60.909,
    "s": 55.462,
    "l": 46.667
  },
  "oklch": {
    "l": 0.7608,
    "c": 0.1484,
    "h": 110.3
  },
  "luminance": 0.45022
}

Semantic roles & 50–950 ramp

primary
#B7B935
secondary
#8382C8
accent
#49DF4B
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B7B935

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

Preview Lab → · Contrast checker → · Palette generator →

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