#B7B60C#B7B60C

#B7B60C is a light, vivid yellow. Relative luminance 0.435; OKLCH L 75.2% C 0.162 H 109.3°. Best body text is #000000 at 9.71:1 contrast (WCAG AA passes).

Color values

HEX#B7B60C
RGBrgb(183, 182, 12)
HSLhsl(60, 88%, 38%)
HSVhsv(60, 93%, 72%)
CMYKcmyk(0%, 0.5%, 93.4%, 28.2%)
CIE-LABlab(71.93, -16.15, 72.09)
CIE-LCHlch(71.93, 73.88, 102.63°)
OKLaboklab(75.25% -0.0535 0.1525)
OKLCHoklch(75.25% 0.162 109.3)
XYZxyz(36.3243, 43.5509, 6.8405)
Luminance0.4355 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7B60C #0C0DB7
analogous
#B7600C #B7B60C #62B70C
triadic
#B7B60C #0CB7B6 #B60CB7
tetradic
#B7B60C #0CB760 #0C0DB7 #B70C62
square
#B7B60C #0CB760 #0C0DB7 #B70C62
split-complementary
#B7B60C #0C62B7 #600CB7
monochromatic
#444404 #7E7D08 #B7B60C #EFEE11 #F3F24A

Accessibility & contrast

On white

2.16
#B7B60C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.71
#B7B60C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7B60C
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7B60C#FFFFFF#000000##000000
##B7B60C1.002.169.719.71
#FFFFFF2.161.0021.0021.00
#0000009.7121.001.001.00
##0000009.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6AE00
Deuteranopia (green-blind)
#C8B224
Tritanopia (blue-blind)
#C5A99B
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b7b60c;
/* rgb */ color: rgb(183, 182, 12);
/* oklch */ color: oklch(75.2% 0.162 109.3);
Tailwind
colors: {
  custom: {
    50: '#d1cb66',
    500: '#b7b60c',
    950: '#000000',
  },
}
SCSS
$custom: #b7b60c;
$custom-light: #d1cb66;
$custom-dark: #000000;
JSON
{
  "hex": "#b7b60c",
  "rgb": {
    "r": 183,
    "g": 182,
    "b": 12
  },
  "hsl": {
    "h": 59.649,
    "s": 87.692,
    "l": 38.235
  },
  "oklch": {
    "l": 0.75248,
    "c": 0.16161,
    "h": 109.3
  },
  "luminance": 0.4355
}

Semantic roles & 50–950 ramp

primary
#B7B60C
secondary
#4B4CD4
accent
#2BFE2A
background
#FDFCF6
surface
#FAF8EB
border
#D3D1C6
text
#151307
muted
#83827A

Preview Lab

Preview with #B7B60C

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

Preview Lab → · Contrast checker → · Palette generator →

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