#B7B738#B7B738

#B7B738 is a light, vivid yellow. Relative luminance 0.442; OKLCH L 75.7% C 0.144 H 109.4°. Best body text is #000000 at 9.84:1 contrast (WCAG AA passes).

Color values

HEX#B7B738
RGBrgb(183, 183, 56)
HSLhsl(60, 53%, 47%)
HSVhsv(60, 69%, 72%)
CMYKcmyk(0%, 0%, 69.4%, 28.2%)
CIE-LABlab(72.38, -15.27, 61.19)
CIE-LCHlch(72.38, 63.07, 104.01°)
OKLaboklab(75.66% -0.048 0.1363)
OKLCHoklch(75.66% 0.144 109.4)
XYZxyz(37.1770, 44.2209, 10.3177)
Luminance0.4422 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7B738 #3838B7
analogous
#B77838 #B7B738 #78B738
triadic
#B7B738 #38B7B7 #B738B7
tetradic
#B7B738 #38B778 #3838B7 #B73878
square
#B7B738 #38B778 #3838B7 #B73878
split-complementary
#B7B738 #3878B7 #7838B7
monochromatic
#59591B #88882A #B7B738 #CECE5E #DCDC8D

Accessibility & contrast

On white

2.13
#B7B738 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.84
#B7B738 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7B738
9.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7B738#FFFFFF#000000##000000
##B7B7381.002.139.849.84
#FFFFFF2.131.0021.0021.00
#0000009.8421.001.001.00
##0000009.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AF23
Deuteranopia (green-blind)
#C7B341
Tritanopia (blue-blind)
#C4AB9E
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #b7b738;
/* rgb */ color: rgb(183, 183, 56);
/* oklch */ color: oklch(75.7% 0.144 109.4);
Tailwind
colors: {
  custom: {
    50: '#d0cc77',
    500: '#b7b738',
    950: '#000000',
  },
}
SCSS
$custom: #b7b738;
$custom-light: #d0cc77;
$custom-dark: #000000;
JSON
{
  "hex": "#b7b738",
  "rgb": {
    "r": 183,
    "g": 183,
    "b": 56
  },
  "hsl": {
    "h": 60,
    "s": 53.138,
    "l": 46.863
  },
  "oklch": {
    "l": 0.75661,
    "c": 0.14447,
    "h": 109.4
  },
  "luminance": 0.4422
}

Semantic roles & 50–950 ramp

primary
#B7B738
secondary
#8484C7
accent
#4BDD4B
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B7B738

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

Preview Lab → · Contrast checker → · Palette generator →

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