#B29E2F#B29E2F

#B29E2F is a light, vivid yellow. Relative luminance 0.341; OKLCH L 69.7% C 0.128 H 98.7°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#B29E2F
RGBrgb(178, 158, 47)
HSLhsl(51, 58%, 44%)
HSVhsv(51, 74%, 70%)
CMYKcmyk(0%, 11.2%, 73.6%, 30.2%)
CIE-LABlab(65.06, -4.86, 57.28)
CIE-LCHlch(65.06, 57.49, 94.85°)
OKLaboklab(69.72% -0.0193 0.1265)
OKLCHoklch(69.72% 0.128 98.7)
XYZxyz(31.1016, 34.1255, 7.6374)
Luminance0.3412 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B29E2F #2F43B2
analogous
#B25D2F #B29E2F #85B22F
triadic
#B29E2F #2FB29E #9E2FB2
tetradic
#B29E2F #2FB25D #2F43B2 #B22F85
square
#B29E2F #2FB25D #2F43B2 #B22F85
split-complementary
#B29E2F #2F85B2 #5D2FB2
monochromatic
#514815 #827322 #B29E2F #D0BC4E #DDCF7E

Accessibility & contrast

On white

2.68
#B29E2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.82
#B29E2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #B29E2F
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B29E2F#FFFFFF#000000##000000
##B29E2F1.002.687.827.82
#FFFFFF2.681.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9A1C
Deuteranopia (green-blind)
#B3A136
Tritanopia (blue-blind)
#C09288
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #b29e2f;
/* rgb */ color: rgb(178, 158, 47);
/* oklch */ color: oklch(69.7% 0.128 98.7);
Tailwind
colors: {
  custom: {
    50: '#cdba6f',
    500: '#b29e2f',
    950: '#000000',
  },
}
SCSS
$custom: #b29e2f;
$custom-light: #cdba6f;
$custom-dark: #000000;
JSON
{
  "hex": "#b29e2f",
  "rgb": {
    "r": 178,
    "g": 158,
    "b": 47
  },
  "hsl": {
    "h": 50.84,
    "s": 58.222,
    "l": 44.118
  },
  "oklch": {
    "l": 0.69718,
    "c": 0.128,
    "h": 98.7
  },
  "luminance": 0.34124
}

Semantic roles & 50–950 ramp

primary
#B29E2F
secondary
#7783C6
accent
#5EE146
background
#FDFBF7
surface
#FAF6ED
border
#D3D0C8
text
#141108
muted
#83807B

Preview Lab

Preview with #B29E2F

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

Preview Lab → · Contrast checker → · Palette generator →

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