#B2B64F#B2B64F

#B2B64F is a light, vivid yellow. Relative luminance 0.435; OKLCH L 75.2% C 0.126 H 111.1°. Best body text is #000000 at 9.70:1 contrast (WCAG AA passes).

Color values

HEX#B2B64F
RGBrgb(178, 182, 79)
HSLhsl(62, 41%, 51%)
HSVhsv(62, 57%, 71%)
CMYKcmyk(2.2%, 0%, 56.6%, 28.6%)
CIE-LABlab(71.88, -15.38, 50.90)
CIE-LCHlch(71.88, 53.17, 106.81°)
OKLaboklab(75.23% -0.0456 0.118)
OKLCHoklch(75.23% 0.126 111.1)
XYZxyz(36.5002, 43.4862, 13.8665)
Luminance0.4349 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B64F #534FB6
analogous
#B6864F #B2B64F #7EB64F
triadic
#B2B64F #4FB2B6 #B64FB2
tetradic
#B2B64F #4FB686 #534FB6 #B64F7E
square
#B2B64F #4FB686 #534FB6 #B64F7E
split-complementary
#B2B64F #4F7EB6 #864FB6
monochromatic
#606229 #8A8D3B #B2B64F #C5C87A #D8DAA6

Accessibility & contrast

On white

2.17
#B2B64F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.70
#B2B64F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B64F
9.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B64F#FFFFFF#000000##000000
##B2B64F1.002.179.709.70
#FFFFFF2.171.0021.0021.00
#0000009.7021.001.001.00
##0000009.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AF44
Deuteranopia (green-blind)
#C3B255
Tritanopia (blue-blind)
#BDACA0
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b2b64f;
/* rgb */ color: rgb(178, 182, 79);
/* oklch */ color: oklch(75.2% 0.126 111.1);
Tailwind
colors: {
  custom: {
    50: '#cbcb84',
    500: '#b2b64f',
    950: '#000000',
  },
}
SCSS
$custom: #b2b64f;
$custom-light: #cbcb84;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b64f",
  "rgb": {
    "r": 178,
    "g": 182,
    "b": 79
  },
  "hsl": {
    "h": 62.33,
    "s": 41.365,
    "l": 51.176
  },
  "oklch": {
    "l": 0.7523,
    "c": 0.12648,
    "h": 111.1
  },
  "luminance": 0.43485
}

Semantic roles & 50–950 ramp

primary
#B2B64F
secondary
#9B9AC7
accent
#57D15B
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14130B
muted
#82827C

Preview Lab

Preview with #B2B64F

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

Preview Lab → · Contrast checker → · Palette generator →

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