#B2A729#B2A729

#B2A729 is a light, vivid yellow. Relative luminance 0.373; OKLCH L 71.6% C 0.139 H 104.2°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#B2A729
RGBrgb(178, 167, 41)
HSLhsl(55, 63%, 43%)
HSVhsv(55, 77%, 70%)
CMYKcmyk(0%, 6.2%, 77%, 30.2%)
CIE-LABlab(67.47, -9.88, 61.67)
CIE-LCHlch(67.47, 62.45, 99.10°)
OKLaboklab(71.62% -0.034 0.1347)
OKLCHoklch(71.62% 0.139 104.2)
XYZxyz(32.5805, 37.2638, 7.5739)
Luminance0.3726 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B2A729 #2934B2
analogous
#B26229 #B2A729 #79B229
triadic
#B2A729 #29B2A7 #A729B2
tetradic
#B2A729 #29B262 #2934B2 #B22979
square
#B2A729 #29B262 #2934B2 #B22979
split-complementary
#B2A729 #2979B2 #6229B2
monochromatic
#4F4A12 #80781E #B2A729 #D4C844 #DFD776

Accessibility & contrast

On white

2.48
#B2A729 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.45
#B2A729 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B2A729
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B2A729#FFFFFF#000000##000000
##B2A7291.002.488.458.45
#FFFFFF2.481.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A10A
Deuteranopia (green-blind)
#BAA733
Tritanopia (blue-blind)
#C09B8F
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #b2a729;
/* rgb */ color: rgb(178, 167, 41);
/* oklch */ color: oklch(71.6% 0.139 104.2);
Tailwind
colors: {
  custom: {
    50: '#cdc06d',
    500: '#b2a729',
    950: '#000000',
  },
}
SCSS
$custom: #b2a729;
$custom-light: #cdc06d;
$custom-dark: #000000;
JSON
{
  "hex": "#b2a729",
  "rgb": {
    "r": 178,
    "g": 167,
    "b": 41
  },
  "hsl": {
    "h": 55.182,
    "s": 62.557,
    "l": 42.941
  },
  "oklch": {
    "l": 0.71623,
    "c": 0.13894,
    "h": 104.2
  },
  "luminance": 0.37263
}

Semantic roles & 50–950 ramp

primary
#B2A729
secondary
#7077C7
accent
#4FE642
background
#FDFBF6
surface
#FAF7EC
border
#D3D0C7
text
#141208
muted
#83817B

Preview Lab

Preview with #B2A729

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

Preview Lab → · Contrast checker → · Palette generator →

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