#B2B645#B2B645

#B2B645 is a light, vivid yellow. Relative luminance 0.434; OKLCH L 75.1% C 0.135 H 111.2°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).

Color values

HEX#B2B645
RGBrgb(178, 182, 69)
HSLhsl(62, 45%, 49%)
HSVhsv(62, 62%, 71%)
CMYKcmyk(2.2%, 0%, 62.1%, 28.6%)
CIE-LABlab(71.79, -16.11, 55.23)
CIE-LCHlch(71.79, 57.53, 106.26°)
OKLaboklab(75.13% -0.0487 0.1259)
OKLCHoklch(75.13% 0.135 111.2)
XYZxyz(36.1632, 43.3514, 12.0917)
Luminance0.4335 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B645 #4945B6
analogous
#B68245 #B2B645 #7AB645
triadic
#B2B645 #45B2B6 #B645B2
tetradic
#B2B645 #45B682 #4945B6 #B6457A
square
#B2B645 #45B682 #4945B6 #B6457A
split-complementary
#B2B645 #457AB6 #8245B6
monochromatic
#5B5D23 #878A34 #B2B645 #C5C970 #D7D99C

Accessibility & contrast

On white

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

On black

9.67
#B2B645 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B645
9.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B645#FFFFFF#000000##000000
##B2B6451.002.179.679.67
#FFFFFF2.171.0021.0021.00
#0000009.6721.001.001.00
##0000009.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE37
Deuteranopia (green-blind)
#C4B14C
Tritanopia (blue-blind)
#BEAB9E
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #b2b645;
/* rgb */ color: rgb(178, 182, 69);
/* oklch */ color: oklch(75.1% 0.135 111.2);
Tailwind
colors: {
  custom: {
    50: '#cccb7e',
    500: '#b2b645',
    950: '#000000',
  },
}
SCSS
$custom: #b2b645;
$custom-light: #cccb7e;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b645",
  "rgb": {
    "r": 178,
    "g": 182,
    "b": 69
  },
  "hsl": {
    "h": 62.124,
    "s": 45.02,
    "l": 49.216
  },
  "oklch": {
    "l": 0.75128,
    "c": 0.13499,
    "h": 111.2
  },
  "luminance": 0.43351
}

Semantic roles & 50–950 ramp

primary
#B2B645
secondary
#9391C6
accent
#53D558
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#14130A
muted
#82827C

Preview Lab

Preview with #B2B645

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

Preview Lab → · Contrast checker → · Palette generator →

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