#B2B72F#B2B72F

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

Color values

HEX#B2B72F
RGBrgb(178, 183, 47)
HSLhsl(62, 59%, 45%)
HSVhsv(62, 74%, 72%)
CMYKcmyk(2.7%, 0%, 74.3%, 28.2%)
CIE-LABlab(71.92, -17.84, 63.80)
CIE-LCHlch(71.92, 66.25, 105.62°)
OKLaboklab(75.18% -0.0558 0.1404)
OKLCHoklch(75.18% 0.151 111.7)
XYZxyz(35.8079, 43.5381, 9.2062)
Luminance0.4354 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B72F #342FB7
analogous
#B7782F #B2B72F #6EB72F
triadic
#B2B72F #2FB2B7 #B72FB2
tetradic
#B2B72F #2FB778 #342FB7 #B72F6E
square
#B2B72F #2FB778 #342FB7 #B72F6E
split-complementary
#B2B72F #2F6EB7 #782FB7
monochromatic
#535616 #838622 #B2B72F #CED251 #DBDF82

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B2B72F#FFFFFF#000000##000000
##B2B72F1.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)
#C5AF11
Deuteranopia (green-blind)
#C6B23A
Tritanopia (blue-blind)
#BEAC9D
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b2b72f;
/* rgb */ color: rgb(178, 183, 47);
/* oklch */ color: oklch(75.2% 0.151 111.7);
Tailwind
colors: {
  custom: {
    50: '#cdcc72',
    500: '#b2b72f',
    950: '#000000',
  },
}
SCSS
$custom: #b2b72f;
$custom-light: #cdcc72;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b72f",
  "rgb": {
    "r": 178,
    "g": 183,
    "b": 47
  },
  "hsl": {
    "h": 62.206,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.7518,
    "c": 0.15103,
    "h": 111.7
  },
  "luminance": 0.43537
}

Semantic roles & 50–950 ramp

primary
#B2B72F
secondary
#7D7AC8
accent
#45E24B
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141308
muted
#83827B

Preview Lab

Preview with #B2B72F

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

Preview Lab → · Contrast checker → · Palette generator →

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