#B7BA4E#B7BA4E

#B7BA4E is a light, vivid yellow. Relative luminance 0.457; OKLCH L 76.5% C 0.131 H 110.6°. Best body text is #000000 at 10.15:1 contrast (WCAG AA passes).

Color values

HEX#B7BA4E
RGBrgb(183, 186, 78)
HSLhsl(62, 44%, 52%)
HSVhsv(62, 58%, 73%)
CMYKcmyk(1.6%, 0%, 58.1%, 27.1%)
CIE-LABlab(73.37, -15.40, 53.13)
CIE-LCHlch(73.37, 55.31, 106.16°)
OKLaboklab(76.51% -0.0461 0.1225)
OKLCHoklch(76.51% 0.131 110.6)
XYZxyz(38.4635, 45.7361, 14.0080)
Luminance0.4573 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BA4E #514EBA
analogous
#BA874E #B7BA4E #81BA4E
triadic
#B7BA4E #4EB7BA #BA4EB7
tetradic
#B7BA4E #4EBA87 #514EBA #BA4E81
square
#B7BA4E #4EBA87 #514EBA #BA4E81
split-complementary
#B7BA4E #4E81BA #874EBA
monochromatic
#646628 #8F9239 #B7BA4E #C9CB7A #DBDCA6

Accessibility & contrast

On white

2.07
#B7BA4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.15
#B7BA4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BA4E
10.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BA4E#FFFFFF#000000##000000
##B7BA4E1.002.0710.1510.15
#FFFFFF2.071.0021.0021.00
#00000010.1521.001.001.00
##00000010.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B242
Deuteranopia (green-blind)
#C8B654
Tritanopia (blue-blind)
#C3AFA3
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b7ba4e;
/* rgb */ color: rgb(183, 186, 78);
/* oklch */ color: oklch(76.5% 0.131 110.6);
Tailwind
colors: {
  custom: {
    50: '#cfce84',
    500: '#b7ba4e',
    950: '#000000',
  },
}
SCSS
$custom: #b7ba4e;
$custom-light: #cfce84;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ba4e",
  "rgb": {
    "r": 183,
    "g": 186,
    "b": 78
  },
  "hsl": {
    "h": 61.667,
    "s": 43.902,
    "l": 51.765
  },
  "oklch": {
    "l": 0.76514,
    "c": 0.13088,
    "h": 110.6
  },
  "luminance": 0.45735
}

Semantic roles & 50–950 ramp

primary
#B7BA4E
secondary
#9C9ACA
accent
#54D458
background
#FDFCF8
surface
#FAF9EF
border
#D3D2CA
text
#14130B
muted
#83827C

Preview Lab

Preview with #B7BA4E

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

Preview Lab → · Contrast checker → · Palette generator →

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