#B3BA2D#B3BA2D

#B3BA2D is a light, vivid yellow. Relative luminance 0.449; OKLCH L 75.9% C 0.155 H 112.5°. Best body text is #000000 at 9.98:1 contrast (WCAG AA passes).

Color values

HEX#B3BA2D
RGBrgb(179, 186, 45)
HSLhsl(63, 61%, 45%)
HSVhsv(63, 76%, 73%)
CMYKcmyk(3.8%, 0%, 75.8%, 27.1%)
CIE-LABlab(72.82, -19.01, 65.32)
CIE-LCHlch(72.82, 68.03, 106.22°)
OKLaboklab(75.92% -0.0592 0.1432)
OKLCHoklch(75.92% 0.155 112.5)
XYZxyz(36.6242, 44.8919, 9.2178)
Luminance0.4489 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B3BA2D #342DBA
analogous
#BA7B2D #B3BA2D #6CBA2D
triadic
#B3BA2D #2DB3BA #BA2DB3
tetradic
#B3BA2D #2DBA7B #342DBA #BA2D6C
square
#B3BA2D #2DBA7B #342DBA #BA2D6C
split-complementary
#B3BA2D #2D6CBA #7B2DBA
monochromatic
#545715 #848921 #B3BA2D #CED550 #DCE081

Accessibility & contrast

On white

2.10
#B3BA2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.98
#B3BA2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B3BA2D
9.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B3BA2D#FFFFFF#000000##000000
##B3BA2D1.002.109.989.98
#FFFFFF2.101.0021.0021.00
#0000009.9821.001.001.00
##0000009.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B107
Deuteranopia (green-blind)
#C9B439
Tritanopia (blue-blind)
#BFAEA0
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b3ba2d;
/* rgb */ color: rgb(179, 186, 45);
/* oklch */ color: oklch(75.9% 0.155 112.5);
Tailwind
colors: {
  custom: {
    50: '#cdce72',
    500: '#b3ba2d',
    950: '#000000',
  },
}
SCSS
$custom: #b3ba2d;
$custom-light: #cdce72;
$custom-dark: #000000;
JSON
{
  "hex": "#b3ba2d",
  "rgb": {
    "r": 179,
    "g": 186,
    "b": 45
  },
  "hsl": {
    "h": 62.979,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.75918,
    "c": 0.15496,
    "h": 112.5
  },
  "luminance": 0.44891
}

Semantic roles & 50–950 ramp

primary
#B3BA2D
secondary
#7D79C9
accent
#44E44C
background
#FDFCF7
surface
#FAF9ED
border
#D3D2C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B3BA2D

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

Preview Lab → · Contrast checker → · Palette generator →

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