#B2B73D#B2B73D

#B2B73D is a light, vivid yellow. Relative luminance 0.437; OKLCH L 75.3% C 0.142 H 111.6°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#B2B73D
RGBrgb(178, 183, 61)
HSLhsl(62, 50%, 48%)
HSVhsv(62, 67%, 72%)
CMYKcmyk(2.7%, 0%, 66.7%, 28.2%)
CIE-LABlab(72.01, -17.12, 58.76)
CIE-LCHlch(72.01, 61.20, 106.24°)
OKLaboklab(75.28% -0.0524 0.1321)
OKLCHoklch(75.28% 0.142 111.6)
XYZxyz(36.1370, 43.6697, 10.9395)
Luminance0.4367 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B73D #423DB7
analogous
#B77F3D #B2B73D #75B73D
triadic
#B2B73D #3DB2B7 #B73DB2
tetradic
#B2B73D #3DB77F #423DB7 #B73D75
square
#B2B73D #3DB77F #423DB7 #B73D75
split-complementary
#B2B73D #3D75B7 #7F3DB7
monochromatic
#595B1E #85892E #B2B73D #C8CC65 #D8DB93

Accessibility & contrast

On white

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

On black

9.73
#B2B73D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B73D
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B73D#FFFFFF#000000##000000
##B2B73D1.002.169.739.73
#FFFFFF2.161.0021.0021.00
#0000009.7321.001.001.00
##0000009.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF2B
Deuteranopia (green-blind)
#C5B245
Tritanopia (blue-blind)
#BEAC9E
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b2b73d;
/* rgb */ color: rgb(178, 183, 61);
/* oklch */ color: oklch(75.3% 0.142 111.6);
Tailwind
colors: {
  custom: {
    50: '#cccc79',
    500: '#b2b73d',
    950: '#000000',
  },
}
SCSS
$custom: #b2b73d;
$custom-light: #cccc79;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b73d",
  "rgb": {
    "r": 178,
    "g": 183,
    "b": 61
  },
  "hsl": {
    "h": 62.459,
    "s": 50,
    "l": 47.843
  },
  "oklch": {
    "l": 0.75279,
    "c": 0.14213,
    "h": 111.6
  },
  "luminance": 0.43669
}

Semantic roles & 50–950 ramp

primary
#B2B73D
secondary
#8C89C6
accent
#4EDA54
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #B2B73D

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

Preview Lab → · Contrast checker → · Palette generator →

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