#B2A630#B2A630

#B2A630 is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.5% C 0.134 H 103.4°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#B2A630
RGBrgb(178, 166, 48)
HSLhsl(54, 58%, 44%)
HSVhsv(54, 73%, 70%)
CMYKcmyk(0%, 6.7%, 73%, 30.2%)
CIE-LABlab(67.24, -9.05, 59.01)
CIE-LCHlch(67.24, 59.70, 98.72°)
OKLaboklab(71.45% -0.031 0.1304)
OKLCHoklch(71.45% 0.134 103.4)
XYZxyz(32.5312, 36.9522, 8.2146)
Luminance0.3695 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A630 #303CB2
analogous
#B26530 #B2A630 #7DB230
triadic
#B2A630 #30B2A6 #A630B2
tetradic
#B2A630 #30B265 #303CB2 #B2307D
square
#B2A630 #30B265 #303CB2 #B2307D
split-complementary
#B2A630 #307DB2 #6530B2
monochromatic
#524C16 #827923 #B2A630 #D0C450 #DDD480

Accessibility & contrast

On white

2.50
#B2A630 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.39
#B2A630 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A630
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A630#FFFFFF#000000##000000
##B2A6301.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A01B
Deuteranopia (green-blind)
#B9A638
Tritanopia (blue-blind)
#C09A8F
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b2a630;
/* rgb */ color: rgb(178, 166, 48);
/* oklch */ color: oklch(71.5% 0.134 103.4);
Tailwind
colors: {
  custom: {
    50: '#cdc071',
    500: '#b2a630',
    950: '#000000',
  },
}
SCSS
$custom: #b2a630;
$custom-light: #cdc071;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a630",
  "rgb": {
    "r": 178,
    "g": 166,
    "b": 48
  },
  "hsl": {
    "h": 54.462,
    "s": 57.522,
    "l": 44.314
  },
  "oklch": {
    "l": 0.7145,
    "c": 0.13403,
    "h": 103.4
  },
  "luminance": 0.36951
}

Semantic roles & 50–950 ramp

primary
#B2A630
secondary
#787FC6
accent
#55E147
background
#FDFBF7
surface
#FAF7ED
border
#D3D0C8
text
#141208
muted
#83817B

Preview Lab

Preview with #B2A630

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

Preview Lab → · Contrast checker → · Palette generator →

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