#B2B72E#B2B72E

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

Color values

HEX#B2B72E
RGBrgb(178, 183, 46)
HSLhsl(62, 60%, 45%)
HSVhsv(62, 75%, 72%)
CMYKcmyk(2.7%, 0%, 74.9%, 28.2%)
CIE-LABlab(71.91, -17.89, 64.13)
CIE-LCHlch(71.91, 66.58, 105.58°)
OKLaboklab(75.17% -0.056 0.1409)
OKLCHoklch(75.17% 0.152 111.7)
XYZxyz(35.7879, 43.5301, 9.1012)
Luminance0.4353 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B72E #332EB7
analogous
#B7782E #B2B72E #6DB72E
triadic
#B2B72E #2EB2B7 #B72EB2
tetradic
#B2B72E #2EB778 #332EB7 #B72E6D
square
#B2B72E #2EB778 #332EB7 #B72E6D
split-complementary
#B2B72E #2E6DB7 #782EB7
monochromatic
#535515 #828622 #B2B72E #CED34F #DCDF80

Accessibility & contrast

On white

2.16
#B2B72E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.71
#B2B72E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B72E
9.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B72E#FFFFFF#000000##000000
##B2B72E1.002.169.719.71
#FFFFFF2.161.0021.0021.00
#0000009.7121.001.001.00
##0000009.7121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF0E
Deuteranopia (green-blind)
#C6B239
Tritanopia (blue-blind)
#BEAC9D
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b2b72e;
/* rgb */ color: rgb(178, 183, 46);
/* oklch */ color: oklch(75.2% 0.152 111.7);
Tailwind
colors: {
  custom: {
    50: '#cdcc72',
    500: '#b2b72e',
    950: '#000000',
  },
}
SCSS
$custom: #b2b72e;
$custom-light: #cdcc72;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b72e",
  "rgb": {
    "r": 178,
    "g": 183,
    "b": 46
  },
  "hsl": {
    "h": 62.19,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.75174,
    "c": 0.15159,
    "h": 111.7
  },
  "luminance": 0.43529
}

Semantic roles & 50–950 ramp

primary
#B2B72E
secondary
#7C79C8
accent
#45E34B
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B2B72E

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

Preview Lab → · Contrast checker → · Palette generator →

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