#B4BA2D#B4BA2D

#B4BA2D is a light, vivid yellow. Relative luminance 0.450; OKLCH L 76.0% C 0.155 H 112.1°. Best body text is #000000 at 10.00:1 contrast (WCAG AA passes).

Color values

HEX#B4BA2D
RGBrgb(180, 186, 45)
HSLhsl(63, 61%, 45%)
HSVhsv(63, 76%, 73%)
CMYKcmyk(3.2%, 0%, 75.8%, 27.1%)
CIE-LABlab(72.90, -18.58, 65.42)
CIE-LCHlch(72.90, 68.01, 105.85°)
OKLaboklab(76% -0.0581 0.1434)
OKLCHoklch(76% 0.155 112.1)
XYZxyz(36.8562, 45.0115, 9.2287)
Luminance0.4501 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4BA2D #332DBA
analogous
#BA792D #B4BA2D #6EBA2D
triadic
#B4BA2D #2DB4BA #BA2DB4
tetradic
#B4BA2D #2DBA79 #332DBA #BA2D6E
square
#B4BA2D #2DBA79 #332DBA #BA2D6E
split-complementary
#B4BA2D #2D6EBA #792DBA
monochromatic
#555715 #848921 #B4BA2D #CFD550 #DCE081

Accessibility & contrast

On white

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

On black

10.00
#B4BA2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B4BA2D
10.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4BA2D#FFFFFF#000000##000000
##B4BA2D1.002.1010.0010.00
#FFFFFF2.101.0021.0021.00
#00000010.0021.001.001.00
##00000010.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B107
Deuteranopia (green-blind)
#C9B539
Tritanopia (blue-blind)
#C1AEA0
Achromatopsia (no color)
#B3B3B3

Design tokens & code

CSS
--color: #b4ba2d;
/* rgb */ color: rgb(180, 186, 45);
/* oklch */ color: oklch(76.0% 0.155 112.1);
Tailwind
colors: {
  custom: {
    50: '#cece72',
    500: '#b4ba2d',
    950: '#000000',
  },
}
SCSS
$custom: #b4ba2d;
$custom-light: #cece72;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ba2d",
  "rgb": {
    "r": 180,
    "g": 186,
    "b": 45
  },
  "hsl": {
    "h": 62.553,
    "s": 61.039,
    "l": 45.294
  },
  "oklch": {
    "l": 0.76001,
    "c": 0.15468,
    "h": 112.1
  },
  "luminance": 0.45011
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B4BA2D

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

Preview Lab → · Contrast checker → · Palette generator →

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