#B29A2F#B29A2F

#B29A2F is a light, vivid yellow. Relative luminance 0.328; OKLCH L 68.9% C 0.125 H 96.1°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#B29A2F
RGBrgb(178, 154, 47)
HSLhsl(49, 58%, 44%)
HSVhsv(49, 74%, 70%)
CMYKcmyk(0%, 13.5%, 73.6%, 30.2%)
CIE-LABlab(63.98, -2.71, 56.24)
CIE-LCHlch(63.98, 56.30, 92.76°)
OKLaboklab(68.86% -0.0132 0.1243)
OKLCHoklch(68.86% 0.125 96.1)
XYZxyz(30.4303, 32.7830, 7.4137)
Luminance0.3278 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B29A2F #2F47B2
analogous
#B2592F #B29A2F #89B22F
triadic
#B29A2F #2FB29A #9A2FB2
tetradic
#B29A2F #2FB259 #2F47B2 #B22F89
square
#B29A2F #2FB259 #2F47B2 #B22F89
split-complementary
#B29A2F #2F89B2 #592FB2
monochromatic
#514615 #827022 #B29A2F #D0B84E #DDCC7E

Accessibility & contrast

On white

2.78
#B29A2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#B29A2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B29A2F
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B29A2F#FFFFFF#000000##000000
##B29A2F1.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA971D
Deuteranopia (green-blind)
#B09E35
Tritanopia (blue-blind)
#C08E85
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #b29a2f;
/* rgb */ color: rgb(178, 154, 47);
/* oklch */ color: oklch(68.9% 0.125 96.1);
Tailwind
colors: {
  custom: {
    50: '#cdb76f',
    500: '#b29a2f',
    950: '#000000',
  },
}
SCSS
$custom: #b29a2f;
$custom-light: #cdb76f;
$custom-dark: #000000;
JSON
{
  "hex": "#b29a2f",
  "rgb": {
    "r": 178,
    "g": 154,
    "b": 47
  },
  "hsl": {
    "h": 49.008,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.68865,
    "c": 0.12503,
    "h": 96.1
  },
  "luminance": 0.32781
}

Semantic roles & 50–950 ramp

primary
#B29A2F
secondary
#7785C6
accent
#63E146
background
#FDFBF6
surface
#FAF6EC
border
#D3D0C7
text
#141108
muted
#83807B

Preview Lab

Preview with #B29A2F

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

Preview Lab → · Contrast checker → · Palette generator →

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