#B7B13D#B7B13D

#B7B13D is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.4% C 0.135 H 106.4°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#B7B13D
RGBrgb(183, 177, 61)
HSLhsl(57, 50%, 48%)
HSVhsv(57, 67%, 72%)
CMYKcmyk(0%, 3.3%, 66.7%, 28.2%)
CIE-LABlab(70.77, -11.92, 57.62)
CIE-LCHlch(70.77, 58.84, 101.69°)
OKLaboklab(74.39% -0.0381 0.1296)
OKLCHoklch(74.39% 0.135 106.4)
XYZxyz(36.0942, 41.8497, 10.5905)
Luminance0.4185 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7B13D #3D43B7
analogous
#B7743D #B7B13D #80B73D
triadic
#B7B13D #3DB7B1 #B13DB7
tetradic
#B7B13D #3DB774 #3D43B7 #B73D80
square
#B7B13D #3DB774 #3D43B7 #B73D80
split-complementary
#B7B13D #3D80B7 #743DB7
monochromatic
#5B581E #89852E #B7B13D #CCC765 #DBD893

Accessibility & contrast

On white

2.24
#B7B13D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.37
#B7B13D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7B13D
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7B13D#FFFFFF#000000##000000
##B7B13D1.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AA2D
Deuteranopia (green-blind)
#C2AF44
Tritanopia (blue-blind)
#C4A699
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b7b13d;
/* rgb */ color: rgb(183, 177, 61);
/* oklch */ color: oklch(74.4% 0.135 106.4);
Tailwind
colors: {
  custom: {
    50: '#d0c879',
    500: '#b7b13d',
    950: '#000000',
  },
}
SCSS
$custom: #b7b13d;
$custom-light: #d0c879;
$custom-dark: #000000;
JSON
{
  "hex": "#b7b13d",
  "rgb": {
    "r": 183,
    "g": 177,
    "b": 61
  },
  "hsl": {
    "h": 57.049,
    "s": 50,
    "l": 47.843
  },
  "oklch": {
    "l": 0.74389,
    "c": 0.13504,
    "h": 106.4
  },
  "luminance": 0.41848
}

Semantic roles & 50–950 ramp

primary
#B7B13D
secondary
#898CC6
accent
#55DA4E
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B

Preview Lab

Preview with #B7B13D

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

Preview Lab → · Contrast checker → · Palette generator →

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