#B7BA2D#B7BA2D

#B7BA2D is a light, vivid yellow. Relative luminance 0.454; OKLCH L 76.3% C 0.154 H 110.8°. Best body text is #000000 at 10.07:1 contrast (WCAG AA passes).

Color values

HEX#B7BA2D
RGBrgb(183, 186, 45)
HSLhsl(61, 61%, 45%)
HSVhsv(61, 76%, 73%)
CMYKcmyk(1.6%, 0%, 75.8%, 27.1%)
CIE-LABlab(73.14, -17.30, 65.73)
CIE-LCHlch(73.14, 67.97, 104.74°)
OKLaboklab(76.25% -0.0547 0.1439)
OKLCHoklch(76.25% 0.154 110.8)
XYZxyz(37.5623, 45.3756, 9.2618)
Luminance0.4537 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BA2D #302DBA
analogous
#BA772D #B7BA2D #70BA2D
triadic
#B7BA2D #2DB7BA #BA2DB7
tetradic
#B7BA2D #2DBA77 #302DBA #BA2D70
square
#B7BA2D #2DBA77 #302DBA #BA2D70
split-complementary
#B7BA2D #2D70BA #772DBA
monochromatic
#565715 #878921 #B7BA2D #D2D550 #DEE081

Accessibility & contrast

On white

2.08
#B7BA2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.07
#B7BA2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BA2D
10.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BA2D#FFFFFF#000000##000000
##B7BA2D1.002.0810.0710.07
#FFFFFF2.081.0021.0021.00
#00000010.0721.001.001.00
##00000010.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B207
Deuteranopia (green-blind)
#CAB539
Tritanopia (blue-blind)
#C4AEA0
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b7ba2d;
/* rgb */ color: rgb(183, 186, 45);
/* oklch */ color: oklch(76.3% 0.154 110.8);
Tailwind
colors: {
  custom: {
    50: '#d0ce72',
    500: '#b7ba2d',
    950: '#000000',
  },
}
SCSS
$custom: #b7ba2d;
$custom-light: #d0ce72;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ba2d",
  "rgb": {
    "r": 183,
    "g": 186,
    "b": 45
  },
  "hsl": {
    "h": 61.277,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.76251,
    "c": 0.15395,
    "h": 110.8
  },
  "luminance": 0.45375
}

Semantic roles & 50–950 ramp

primary
#B7BA2D
secondary
#7B79C9
accent
#44E447
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B7BA2D

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

Preview Lab → · Contrast checker → · Palette generator →

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