#BFA23C#BFA23C

#BFA23C is a light, vivid yellow. Relative luminance 0.372; OKLCH L 71.9% C 0.123 H 93.0°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#BFA23C
RGBrgb(191, 162, 60)
HSLhsl(47, 52%, 49%)
HSVhsv(47, 69%, 75%)
CMYKcmyk(0%, 15.2%, 68.6%, 25.1%)
CIE-LABlab(67.46, -0.60, 54.86)
CIE-LCHlch(67.46, 54.86, 90.63°)
OKLaboklab(71.94% -0.0064 0.1233)
OKLCHoklch(71.94% 0.123 93)
XYZxyz(35.2236, 37.2452, 9.6078)
Luminance0.3724 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFA23C #3C59BF
analogous
#BF613C #BFA23C #9ABF3C
triadic
#BFA23C #3CBFA2 #A23CBF
tetradic
#BFA23C #3CBF61 #3C59BF #BF3C9A
square
#BFA23C #3CBF61 #3C59BF #BF3C9A
split-complementary
#BFA23C #3C9ABF #613CBF
monochromatic
#62531F #907B2D #BFA23C #D0B968 #DECF97

Accessibility & contrast

On white

2.49
#BFA23C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##BFA23C#FFFFFF#000000##000000
##BFA23C1.002.498.458.45
#FFFFFF2.491.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39F2F
Deuteranopia (green-blind)
#BAA841
Tritanopia (blue-blind)
#CE958D
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #bfa23c;
/* rgb */ color: rgb(191, 162, 60);
/* oklch */ color: oklch(71.9% 0.123 93.0);
Tailwind
colors: {
  custom: {
    50: '#d6bd77',
    500: '#bfa23c',
    950: '#000000',
  },
}
SCSS
$custom: #bfa23c;
$custom-light: #d6bd77;
$custom-dark: #000000;
JSON
{
  "hex": "#bfa23c",
  "rgb": {
    "r": 191,
    "g": 162,
    "b": 60
  },
  "hsl": {
    "h": 46.718,
    "s": 52.191,
    "l": 49.216
  },
  "oklch": {
    "l": 0.71936,
    "c": 0.12348,
    "h": 93
  },
  "luminance": 0.37243
}

Semantic roles & 50–950 ramp

primary
#BFA23C
secondary
#8D9ACA
accent
#6CDC4C
background
#FDFBF7
surface
#FBF6ED
border
#D4D0C8
text
#151209
muted
#83817B

Preview Lab

Preview with #BFA23C

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

Preview Lab → · Contrast checker → · Palette generator →

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