#B4BA4E#B4BA4E

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

Color values

HEX#B4BA4E
RGBrgb(180, 186, 78)
HSLhsl(63, 44%, 52%)
HSVhsv(63, 58%, 73%)
CMYKcmyk(3.2%, 0%, 58.1%, 27.1%)
CIE-LABlab(73.14, -16.65, 52.80)
CIE-LCHlch(73.14, 55.36, 107.50°)
OKLaboklab(76.27% -0.0494 0.1219)
OKLCHoklch(76.27% 0.132 112.1)
XYZxyz(37.7574, 45.3720, 13.9749)
Luminance0.4537 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4BA4E #544EBA
analogous
#BA8A4E #B4BA4E #7EBA4E
triadic
#B4BA4E #4EB4BA #BA4EB4
tetradic
#B4BA4E #4EBA8A #544EBA #BA4E7E
square
#B4BA4E #4EBA8A #544EBA #BA4E7E
split-complementary
#B4BA4E #4E7EBA #8A4EBA
monochromatic
#626628 #8D9239 #B4BA4E #C7CB7A #D9DCA6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4BA4E#FFFFFF#000000##000000
##B4BA4E1.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)
#C7B242
Deuteranopia (green-blind)
#C7B554
Tritanopia (blue-blind)
#BFB0A3
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b4ba4e;
/* rgb */ color: rgb(180, 186, 78);
/* oklch */ color: oklch(76.3% 0.132 112.1);
Tailwind
colors: {
  custom: {
    50: '#cdce84',
    500: '#b4ba4e',
    950: '#000000',
  },
}
SCSS
$custom: #b4ba4e;
$custom-light: #cdce84;
$custom-dark: #000000;
JSON
{
  "hex": "#b4ba4e",
  "rgb": {
    "r": 180,
    "g": 186,
    "b": 78
  },
  "hsl": {
    "h": 63.333,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.76266,
    "c": 0.13151,
    "h": 112.1
  },
  "luminance": 0.45371
}

Semantic roles & 50–950 ramp

primary
#B4BA4E
secondary
#9D9ACA
accent
#54D45B
background
#FCFCF8
surface
#F9F9EF
border
#D2D2CA
text
#14130B
muted
#82827C

Preview Lab

Preview with #B4BA4E

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

Preview Lab → · Contrast checker → · Palette generator →

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