#BFA23E#BFA23E

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

Color values

HEX#BFA23E
RGBrgb(191, 162, 62)
HSLhsl(47, 51%, 50%)
HSVhsv(47, 68%, 75%)
CMYKcmyk(0%, 15.2%, 67.5%, 25.1%)
CIE-LABlab(67.48, -0.49, 54.02)
CIE-LCHlch(67.48, 54.02, 90.52°)
OKLaboklab(71.95% -0.0059 0.1219)
OKLCHoklch(71.95% 0.122 92.8)
XYZxyz(35.2775, 37.2668, 9.8916)
Luminance0.3726 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFA23E #3E5BBF
analogous
#BF623E #BFA23E #9BBF3E
triadic
#BFA23E #3EBFA2 #A23EBF
tetradic
#BFA23E #3EBF62 #3E5BBF #BF3E9B
square
#BFA23E #3EBF62 #3E5BBF #BF3E9B
split-complementary
#BFA23E #3E9BBF #623EBF
monochromatic
#635420 #917B2F #BFA23E #CFB96B #DECF99

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BFA23E#FFFFFF#000000##000000
##BFA23E1.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)
#B39F31
Deuteranopia (green-blind)
#BAA843
Tritanopia (blue-blind)
#CE958D
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #bfa23e;
/* rgb */ color: rgb(191, 162, 62);
/* oklch */ color: oklch(72.0% 0.122 92.8);
Tailwind
colors: {
  custom: {
    50: '#d6bd78',
    500: '#bfa23e',
    950: '#000000',
  },
}
SCSS
$custom: #bfa23e;
$custom-light: #d6bd78;
$custom-dark: #000000;
JSON
{
  "hex": "#bfa23e",
  "rgb": {
    "r": 191,
    "g": 162,
    "b": 62
  },
  "hsl": {
    "h": 46.512,
    "s": 50.988,
    "l": 49.608
  },
  "oklch": {
    "l": 0.71954,
    "c": 0.12201,
    "h": 92.8
  },
  "luminance": 0.37265
}

Semantic roles & 50–950 ramp

primary
#BFA23E
secondary
#8F9CCA
accent
#6DDA4D
background
#FDFBF7
surface
#FBF6EE
border
#D4D0C9
text
#151209
muted
#83817B

Preview Lab

Preview with #BFA23E

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

Preview Lab → · Contrast checker → · Palette generator →

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