#B7B13F#B7B13F

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

Color values

HEX#B7B13F
RGBrgb(183, 177, 63)
HSLhsl(57, 49%, 48%)
HSVhsv(57, 66%, 72%)
CMYKcmyk(0%, 3.3%, 65.6%, 28.2%)
CIE-LABlab(70.78, -11.80, 56.82)
CIE-LCHlch(70.78, 58.03, 101.73°)
OKLaboklab(74.41% -0.0375 0.1282)
OKLCHoklch(74.41% 0.134 106.3)
XYZxyz(36.1491, 41.8717, 10.8795)
Luminance0.4187 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7B13F #3F45B7
analogous
#B7753F #B7B13F #81B73F
triadic
#B7B13F #3FB7B1 #B13FB7
tetradic
#B7B13F #3FB775 #3F45B7 #B73F81
square
#B7B13F #3FB775 #3F45B7 #B73F81
split-complementary
#B7B13F #3F81B7 #753FB7
monochromatic
#5C5920 #89852F #B7B13F #CBC668 #DBD796

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7B13F#FFFFFF#000000##000000
##B7B13F1.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)
#C0AB30
Deuteranopia (green-blind)
#C2AF46
Tritanopia (blue-blind)
#C4A69A
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b7b13f;
/* rgb */ color: rgb(183, 177, 63);
/* oklch */ color: oklch(74.4% 0.134 106.3);
Tailwind
colors: {
  custom: {
    50: '#d0c87a',
    500: '#b7b13f',
    950: '#000000',
  },
}
SCSS
$custom: #b7b13f;
$custom-light: #d0c87a;
$custom-dark: #000000;
JSON
{
  "hex": "#b7b13f",
  "rgb": {
    "r": 183,
    "g": 177,
    "b": 63
  },
  "hsl": {
    "h": 57,
    "s": 48.78,
    "l": 48.235
  },
  "oklch": {
    "l": 0.74406,
    "c": 0.13357,
    "h": 106.3
  },
  "luminance": 0.4187
}

Semantic roles & 50–950 ramp

primary
#B7B13F
secondary
#8B8EC6
accent
#56D84F
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B7B13F

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

Preview Lab → · Contrast checker → · Palette generator →

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