#BDAF3E#BDAF3E

#BDAF3E is a light, vivid yellow. Relative luminance 0.418; OKLCH L 74.5% C 0.132 H 102.2°. Best body text is #000000 at 9.37:1 contrast (WCAG AA passes).

Color values

HEX#BDAF3E
RGBrgb(189, 175, 62)
HSLhsl(53, 51%, 49%)
HSVhsv(53, 67%, 74%)
CMYKcmyk(0%, 7.4%, 67.2%, 25.9%)
CIE-LABlab(70.75, -8.23, 57.36)
CIE-LCHlch(70.75, 57.95, 98.17°)
OKLaboklab(74.51% -0.0279 0.129)
OKLCHoklch(74.51% 0.132 102.2)
XYZxyz(37.1873, 41.8281, 10.6713)
Luminance0.4183 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BDAF3E #3E4CBD
analogous
#BD703E #BDAF3E #8CBD3E
triadic
#BDAF3E #3EBDAF #AF3EBD
tetradic
#BDAF3E #3EBD70 #3E4CBD #BD3E8C
square
#BDAF3E #3EBD70 #3E4CBD #BD3E8C
split-complementary
#BDAF3E #3E8CBD #703EBD
monochromatic
#615A20 #8F842F #BDAF3E #CEC36A #DDD698

Accessibility & contrast

On white

2.24
#BDAF3E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.37
#BDAF3E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BDAF3E
9.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BDAF3E#FFFFFF#000000##000000
##BDAF3E1.002.249.379.37
#FFFFFF2.241.0021.0021.00
#0000009.3721.001.001.00
##0000009.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA2F
Deuteranopia (green-blind)
#C3B045
Tritanopia (blue-blind)
#CBA398
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #bdaf3e;
/* rgb */ color: rgb(189, 175, 62);
/* oklch */ color: oklch(74.5% 0.132 102.2);
Tailwind
colors: {
  custom: {
    50: '#d4c679',
    500: '#bdaf3e',
    950: '#000000',
  },
}
SCSS
$custom: #bdaf3e;
$custom-light: #d4c679;
$custom-dark: #000000;
JSON
{
  "hex": "#bdaf3e",
  "rgb": {
    "r": 189,
    "g": 175,
    "b": 62
  },
  "hsl": {
    "h": 53.386,
    "s": 50.598,
    "l": 49.216
  },
  "oklch": {
    "l": 0.74505,
    "c": 0.13199,
    "h": 102.2
  },
  "luminance": 0.41827
}

Semantic roles & 50–950 ramp

primary
#BDAF3E
secondary
#8E94C9
accent
#5DDA4E
background
#FDFCF7
surface
#FBF8EE
border
#D4D1C9
text
#151309
muted
#83827B

Preview Lab

Preview with #BDAF3E

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

Preview Lab → · Contrast checker → · Palette generator →

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