#B2A63E#B2A63E

#B2A63E is a light, vivid yellow. Relative luminance 0.371; OKLCH L 71.6% C 0.124 H 102.7°. Best body text is #000000 at 8.42:1 contrast (WCAG AA passes).

Color values

HEX#B2A63E
RGBrgb(178, 166, 62)
HSLhsl(54, 48%, 47%)
HSVhsv(54, 65%, 70%)
CMYKcmyk(0%, 6.7%, 65.2%, 30.2%)
CIE-LABlab(67.34, -8.28, 53.51)
CIE-LCHlch(67.34, 54.14, 98.80°)
OKLaboklab(71.56% -0.0273 0.1212)
OKLCHoklch(71.56% 0.124 102.7)
XYZxyz(32.8671, 37.0865, 9.9836)
Luminance0.3709 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A63E #3E4AB2
analogous
#B26C3E #B2A63E #84B23E
triadic
#B2A63E #3EB2A6 #A63EB2
tetradic
#B2A63E #3EB26C #3E4AB2 #B23E84
square
#B2A63E #3EB26C #3E4AB2 #B23E84
split-complementary
#B2A63E #3E84B2 #6C3EB2
monochromatic
#57511E #857C2E #B2A63E #C9BF64 #D9D192

Accessibility & contrast

On white

2.49
#B2A63E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.42
#B2A63E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A63E
8.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A63E#FFFFFF#000000##000000
##B2A63E1.002.498.428.42
#FFFFFF2.491.0021.0021.00
#0000008.4221.001.001.00
##0000008.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A131
Deuteranopia (green-blind)
#B8A644
Tritanopia (blue-blind)
#BF9B90
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b2a63e;
/* rgb */ color: rgb(178, 166, 62);
/* oklch */ color: oklch(71.6% 0.124 102.7);
Tailwind
colors: {
  custom: {
    50: '#ccc078',
    500: '#b2a63e',
    950: '#000000',
  },
}
SCSS
$custom: #b2a63e;
$custom-light: #ccc078;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a63e",
  "rgb": {
    "r": 178,
    "g": 166,
    "b": 62
  },
  "hsl": {
    "h": 53.793,
    "s": 48.333,
    "l": 47.059
  },
  "oklch": {
    "l": 0.71562,
    "c": 0.12424,
    "h": 102.7
  },
  "luminance": 0.37085
}

Semantic roles & 50–950 ramp

primary
#B2A63E
secondary
#888EC4
accent
#5ED850
background
#FCFBF7
surface
#F9F7EE
border
#D2D0C9
text
#141209
muted
#82817B

Preview Lab

Preview with #B2A63E

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

Preview Lab → · Contrast checker → · Palette generator →

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