#B7BA45#B7BA45

#B7BA45 is a light, vivid yellow. Relative luminance 0.456; OKLCH L 76.4% C 0.138 H 110.7°. Best body text is #000000 at 10.12:1 contrast (WCAG AA passes).

Color values

HEX#B7BA45
RGBrgb(183, 186, 69)
HSLhsl(62, 46%, 50%)
HSVhsv(62, 63%, 73%)
CMYKcmyk(1.6%, 0%, 62.9%, 27.1%)
CIE-LABlab(73.30, -16.03, 56.95)
CIE-LCHlch(73.30, 59.17, 105.72°)
OKLaboklab(76.43% -0.0488 0.1294)
OKLCHoklch(76.43% 0.138 110.7)
XYZxyz(38.1626, 45.6157, 12.4235)
Luminance0.4561 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7BA45 #4845BA
analogous
#BA8245 #B7BA45 #7DBA45
triadic
#B7BA45 #45B7BA #BA45B7
tetradic
#B7BA45 #45BA82 #4845BA #BA457D
square
#B7BA45 #45BA82 #4845BA #BA457D
split-complementary
#B7BA45 #457DBA #8245BA
monochromatic
#5F6124 #8B8D34 #B7BA45 #C8CB72 #DADB9E

Accessibility & contrast

On white

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

On black

10.12
#B7BA45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B7BA45
10.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7BA45#FFFFFF#000000##000000
##B7BA451.002.0710.1210.12
#FFFFFF2.071.0021.0021.00
#00000010.1221.001.001.00
##00000010.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B236
Deuteranopia (green-blind)
#C9B64C
Tritanopia (blue-blind)
#C3AFA2
Achromatopsia (no color)
#B4B4B4

Design tokens & code

CSS
--color: #b7ba45;
/* rgb */ color: rgb(183, 186, 69);
/* oklch */ color: oklch(76.4% 0.138 110.7);
Tailwind
colors: {
  custom: {
    50: '#cfce7e',
    500: '#b7ba45',
    950: '#000000',
  },
}
SCSS
$custom: #b7ba45;
$custom-light: #cfce7e;
$custom-dark: #000000;
JSON
{
  "hex": "#b7ba45",
  "rgb": {
    "r": 183,
    "g": 186,
    "b": 69
  },
  "hsl": {
    "h": 61.538,
    "s": 45.882,
    "l": 50
  },
  "oklch": {
    "l": 0.76426,
    "c": 0.1383,
    "h": 110.7
  },
  "luminance": 0.45615
}

Semantic roles & 50–950 ramp

primary
#B7BA45
secondary
#9593C8
accent
#52D656
background
#FDFCF7
surface
#FAF9EE
border
#D3D2C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #B7BA45

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

Preview Lab → · Contrast checker → · Palette generator →

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