#BFAF3E#BFAF3E

#BFAF3E is a light, vivid yellow. Relative luminance 0.421; OKLCH L 74.7% C 0.132 H 101.2°. Best body text is #000000 at 9.42:1 contrast (WCAG AA passes).

Color values

HEX#BFAF3E
RGBrgb(191, 175, 62)
HSLhsl(53, 51%, 50%)
HSVhsv(53, 68%, 75%)
CMYKcmyk(0%, 8.4%, 67.5%, 25.1%)
CIE-LABlab(70.93, -7.37, 57.60)
CIE-LCHlch(70.93, 58.07, 97.29°)
OKLaboklab(74.69% -0.0255 0.1295)
OKLCHoklch(74.69% 0.132 101.2)
XYZxyz(37.6869, 42.0857, 10.6947)
Luminance0.4208 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BFAF3E #3E4EBF
analogous
#BF6F3E #BFAF3E #8FBF3E
triadic
#BFAF3E #3EBFAF #AF3EBF
tetradic
#BFAF3E #3EBF6F #3E4EBF #BF3E8F
square
#BFAF3E #3EBF6F #3E4EBF #BF3E8F
split-complementary
#BFAF3E #3E8FBF #6F3EBF
monochromatic
#635A20 #91852F #BFAF3E #CFC36B #DED699

Accessibility & contrast

On white

2.23
#BFAF3E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.42
#BFAF3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BFAF3E
9.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BFAF3E#FFFFFF#000000##000000
##BFAF3E1.002.239.429.42
#FFFFFF2.231.0021.0021.00
#0000009.4221.001.001.00
##0000009.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA2F
Deuteranopia (green-blind)
#C4B045
Tritanopia (blue-blind)
#CDA398
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #bfaf3e;
/* rgb */ color: rgb(191, 175, 62);
/* oklch */ color: oklch(74.7% 0.132 101.2);
Tailwind
colors: {
  custom: {
    50: '#d6c679',
    500: '#bfaf3e',
    950: '#000000',
  },
}
SCSS
$custom: #bfaf3e;
$custom-light: #d6c679;
$custom-dark: #000000;
JSON
{
  "hex": "#bfaf3e",
  "rgb": {
    "r": 191,
    "g": 175,
    "b": 62
  },
  "hsl": {
    "h": 52.558,
    "s": 50.988,
    "l": 49.608
  },
  "oklch": {
    "l": 0.74688,
    "c": 0.13195,
    "h": 101.2
  },
  "luminance": 0.42084
}

Semantic roles & 50–950 ramp

primary
#BFAF3E
secondary
#8F96CA
accent
#5FDA4D
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #BFAF3E

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

Preview Lab → · Contrast checker → · Palette generator →

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