#B29F2F#B29F2F

#B29F2F is a light, vivid yellow. Relative luminance 0.345; OKLCH L 69.9% C 0.129 H 99.3°. Best body text is #000000 at 7.89:1 contrast (WCAG AA passes).

Color values

HEX#B29F2F
RGBrgb(178, 159, 47)
HSLhsl(51, 58%, 44%)
HSVhsv(51, 74%, 70%)
CMYKcmyk(0%, 10.7%, 73.6%, 30.2%)
CIE-LABlab(65.33, -5.39, 57.54)
CIE-LCHlch(65.33, 57.79, 95.35°)
OKLaboklab(69.93% -0.0208 0.1271)
OKLCHoklch(69.93% 0.129 99.3)
XYZxyz(31.2728, 34.4680, 7.6945)
Luminance0.3447 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B29F2F #2F42B2
analogous
#B25E2F #B29F2F #84B22F
triadic
#B29F2F #2FB29F #9F2FB2
tetradic
#B29F2F #2FB25E #2F42B2 #B22F84
square
#B29F2F #2FB25E #2F42B2 #B22F84
split-complementary
#B29F2F #2F84B2 #5E2FB2
monochromatic
#514915 #827422 #B29F2F #D0BD4E #DDCF7E

Accessibility & contrast

On white

2.66
#B29F2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.89
#B29F2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B29F2F
7.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B29F2F#FFFFFF#000000##000000
##B29F2F1.002.667.897.89
#FFFFFF2.661.0021.0021.00
#0000007.8921.001.001.00
##0000007.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B1C
Deuteranopia (green-blind)
#B4A236
Tritanopia (blue-blind)
#C09389
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #b29f2f;
/* rgb */ color: rgb(178, 159, 47);
/* oklch */ color: oklch(69.9% 0.129 99.3);
Tailwind
colors: {
  custom: {
    50: '#cdbb6f',
    500: '#b29f2f',
    950: '#000000',
  },
}
SCSS
$custom: #b29f2f;
$custom-light: #cdbb6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b29f2f",
  "rgb": {
    "r": 178,
    "g": 159,
    "b": 47
  },
  "hsl": {
    "h": 51.298,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.69932,
    "c": 0.12878,
    "h": 99.3
  },
  "luminance": 0.34466
}

Semantic roles & 50–950 ramp

primary
#B29F2F
secondary
#7782C6
accent
#5DE146
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B

Preview Lab

Preview with #B29F2F

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

Preview Lab → · Contrast checker → · Palette generator →

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