#BFA42E#BFA42E

#BFA42E is a light, vivid yellow. Relative luminance 0.378; OKLCH L 72.2% C 0.134 H 95.6°. Best body text is #000000 at 8.57:1 contrast (WCAG AA passes).

Color values

HEX#BFA42E
RGBrgb(191, 164, 46)
HSLhsl(49, 61%, 46%)
HSVhsv(49, 76%, 75%)
CMYKcmyk(0%, 14.1%, 75.9%, 25.1%)
CIE-LABlab(67.89, -2.35, 60.78)
CIE-LCHlch(67.89, 60.82, 92.22°)
OKLaboklab(72.25% -0.013 0.1332)
OKLCHoklch(72.25% 0.134 95.6)
XYZxyz(35.2563, 37.8265, 8.0285)
Luminance0.3782 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFA42E #2E49BF
analogous
#BF5C2E #BFA42E #92BF2E
triadic
#BFA42E #2EBFA4 #A42EBF
tetradic
#BFA42E #2EBF5C #2E49BF #BF2E92
square
#BFA42E #2EBF5C #2E49BF #BF2E92
split-complementary
#BFA42E #2E92BF #5C2EBF
monochromatic
#5C4F16 #8E7A22 #BFA42E #D6BE54 #E2D186

Accessibility & contrast

On white

2.45
#BFA42E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.57
#BFA42E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFA42E
8.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFA42E#FFFFFF#000000##000000
##BFA42E1.002.458.578.57
#FFFFFF2.451.0021.0021.00
#0000008.5721.001.001.00
##0000008.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A118
Deuteranopia (green-blind)
#BCA936
Tritanopia (blue-blind)
#CF978D
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #bfa42e;
/* rgb */ color: rgb(191, 164, 46);
/* oklch */ color: oklch(72.2% 0.134 95.6);
Tailwind
colors: {
  custom: {
    50: '#d6be70',
    500: '#bfa42e',
    950: '#000000',
  },
}
SCSS
$custom: #bfa42e;
$custom-light: #d6be70;
$custom-dark: #000000;
JSON
{
  "hex": "#bfa42e",
  "rgb": {
    "r": 191,
    "g": 164,
    "b": 46
  },
  "hsl": {
    "h": 48.828,
    "s": 61.181,
    "l": 46.471
  },
  "oklch": {
    "l": 0.72247,
    "c": 0.13386,
    "h": 95.6
  },
  "luminance": 0.37825
}

Semantic roles & 50–950 ramp

primary
#BFA42E
secondary
#7E8CCB
accent
#61E444
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151208
muted
#83817B

Preview Lab

Preview with #BFA42E

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

Preview Lab → · Contrast checker → · Palette generator →

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