#B7B839#B7B839

#B7B839 is a light, vivid yellow. Relative luminance 0.446; OKLCH L 75.9% C 0.145 H 109.8°. Best body text is #000000 at 9.93:1 contrast (WCAG AA passes).

Color values

HEX#B7B839
RGBrgb(183, 184, 57)
HSLhsl(60, 53%, 47%)
HSVhsv(60, 69%, 72%)
CMYKcmyk(0.5%, 0%, 69%, 27.8%)
CIE-LABlab(72.66, -15.72, 61.09)
CIE-LCHlch(72.66, 63.08, 104.43°)
OKLaboklab(75.89% -0.0492 0.1362)
OKLCHoklch(75.89% 0.145 109.8)
XYZxyz(37.4087, 44.6447, 10.5168)
Luminance0.4464 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7B839 #3A39B8
analogous
#B87939 #B7B839 #78B839
triadic
#B7B839 #39B7B8 #B839B7
tetradic
#B7B839 #39B879 #3A39B8 #B83978
square
#B7B839 #39B879 #3A39B8 #B83978
split-complementary
#B7B839 #3978B8 #7939B8
monochromatic
#5A5B1C #89892B #B7B839 #CDCE60 #DCDC8F

Accessibility & contrast

On white

2.12
#B7B839 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.93
#B7B839 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7B839
9.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7B839#FFFFFF#000000##000000
##B7B8391.002.129.939.93
#FFFFFF2.121.0021.0021.00
#0000009.9321.001.001.00
##0000009.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B025
Deuteranopia (green-blind)
#C8B442
Tritanopia (blue-blind)
#C4AC9F
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #b7b839;
/* rgb */ color: rgb(183, 184, 57);
/* oklch */ color: oklch(75.9% 0.145 109.8);
Tailwind
colors: {
  custom: {
    50: '#d0cd77',
    500: '#b7b839',
    950: '#000000',
  },
}
SCSS
$custom: #b7b839;
$custom-light: #d0cd77;
$custom-dark: #000000;
JSON
{
  "hex": "#b7b839",
  "rgb": {
    "r": 183,
    "g": 184,
    "b": 57
  },
  "hsl": {
    "h": 60.472,
    "s": 52.697,
    "l": 47.255
  },
  "oklch": {
    "l": 0.75888,
    "c": 0.14484,
    "h": 109.8
  },
  "luminance": 0.44644
}

Semantic roles & 50–950 ramp

primary
#B7B839
secondary
#8686C7
accent
#4CDC4D
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B7B839

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

Preview Lab → · Contrast checker → · Palette generator →

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