#B2B630#B2B630

#B2B630 is a light, vivid yellow. Relative luminance 0.431; OKLCH L 75.0% C 0.149 H 111.2°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#B2B630
RGBrgb(178, 182, 48)
HSLhsl(62, 58%, 45%)
HSVhsv(62, 74%, 71%)
CMYKcmyk(2.2%, 0%, 73.6%, 28.6%)
CIE-LABlab(71.65, -17.29, 63.21)
CIE-LCHlch(71.65, 65.53, 105.30°)
OKLaboklab(74.96% -0.0541 0.1393)
OKLCHoklch(74.96% 0.149 111.2)
XYZxyz(35.6228, 43.1352, 9.2452)
Luminance0.4313 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B630 #3430B6
analogous
#B67730 #B2B630 #6FB630
triadic
#B2B630 #30B2B6 #B630B2
tetradic
#B2B630 #30B677 #3430B6 #B6306F
square
#B2B630 #30B677 #3430B6 #B6306F
split-complementary
#B2B630 #306FB6 #7730B6
monochromatic
#535516 #838623 #B2B630 #CED152 #DBDE82

Accessibility & contrast

On white

2.18
#B2B630 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.63
#B2B630 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B630
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B630#FFFFFF#000000##000000
##B2B6301.002.189.639.63
#FFFFFF2.181.0021.0021.00
#0000009.6321.001.001.00
##0000009.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE14
Deuteranopia (green-blind)
#C5B13B
Tritanopia (blue-blind)
#BEAB9C
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #b2b630;
/* rgb */ color: rgb(178, 182, 48);
/* oklch */ color: oklch(75.0% 0.149 111.2);
Tailwind
colors: {
  custom: {
    50: '#cdcb72',
    500: '#b2b630',
    950: '#000000',
  },
}
SCSS
$custom: #b2b630;
$custom-light: #cdcb72;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b630",
  "rgb": {
    "r": 178,
    "g": 182,
    "b": 48
  },
  "hsl": {
    "h": 61.791,
    "s": 58.261,
    "l": 45.098
  },
  "oklch": {
    "l": 0.74964,
    "c": 0.14944,
    "h": 111.2
  },
  "luminance": 0.43134
}

Semantic roles & 50–950 ramp

primary
#B2B630
secondary
#7D7BC7
accent
#46E14B
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#141309
muted
#83827B

Preview Lab

Preview with #B2B630

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

Preview Lab → · Contrast checker → · Palette generator →

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