#B2B249#B2B249

#B2B249 is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.3% C 0.127 H 109.1°. Best body text is #000000 at 9.36:1 contrast (WCAG AA passes).

Color values

HEX#B2B249
RGBrgb(178, 178, 73)
HSLhsl(60, 42%, 49%)
HSVhsv(60, 59%, 70%)
CMYKcmyk(0%, 0%, 59%, 30.2%)
CIE-LABlab(70.72, -13.78, 52.33)
CIE-LCHlch(70.72, 54.11, 104.76°)
OKLaboklab(74.29% -0.0417 0.1203)
OKLCHoklch(74.29% 0.127 109.1)
XYZxyz(35.4841, 41.7878, 12.4987)
Luminance0.4179 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2B249 #4949B2
analogous
#B27E49 #B2B249 #7EB249
triadic
#B2B249 #49B2B2 #B249B2
tetradic
#B2B249 #49B27E #4949B2 #B2497E
square
#B2B249 #49B27E #4949B2 #B2497E
split-complementary
#B2B249 #497EB2 #7E49B2
monochromatic
#5B5B25 #878737 #B2B249 #C5C573 #D7D79E

Accessibility & contrast

On white

2.24
#B2B249 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.36
#B2B249 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2B249
9.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2B249#FFFFFF#000000##000000
##B2B2491.002.249.369.36
#FFFFFF2.241.0021.0021.00
#0000009.3621.001.001.00
##0000009.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAB3D
Deuteranopia (green-blind)
#C1AF4F
Tritanopia (blue-blind)
#BEA89C
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #b2b249;
/* rgb */ color: rgb(178, 178, 73);
/* oklch */ color: oklch(74.3% 0.127 109.1);
Tailwind
colors: {
  custom: {
    50: '#ccc880',
    500: '#b2b249',
    950: '#000000',
  },
}
SCSS
$custom: #b2b249;
$custom-light: #ccc880;
$custom-dark: #000000;
JSON
{
  "hex": "#b2b249",
  "rgb": {
    "r": 178,
    "g": 178,
    "b": 73
  },
  "hsl": {
    "h": 60,
    "s": 41.833,
    "l": 49.216
  },
  "oklch": {
    "l": 0.74286,
    "c": 0.1273,
    "h": 109.1
  },
  "luminance": 0.41787
}

Semantic roles & 50–950 ramp

primary
#B2B249
secondary
#9393C4
accent
#56D256
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#14130A
muted
#82827C

Preview Lab

Preview with #B2B249

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

Preview Lab → · Contrast checker → · Palette generator →

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