#BAAF46#BAAF46

#BAAF46 is a light, vivid yellow. Relative luminance 0.415; OKLCH L 74.3% C 0.126 H 103.3°. Best body text is #000000 at 9.31:1 contrast (WCAG AA passes).

Color values

HEX#BAAF46
RGBrgb(186, 175, 70)
HSLhsl(54, 46%, 50%)
HSVhsv(54, 62%, 73%)
CMYKcmyk(0%, 5.9%, 62.4%, 27.1%)
CIE-LABlab(70.55, -9.03, 53.67)
CIE-LCHlch(70.55, 54.42, 99.55°)
OKLaboklab(74.3% -0.029 0.1225)
OKLCHoklch(74.3% 0.126 103.3)
XYZxyz(36.6865, 41.5426, 11.8792)
Luminance0.4154 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAF46 #4651BA
analogous
#BA7546 #BAAF46 #8BBA46
triadic
#BAAF46 #46BAAF #AF46BA
tetradic
#BAAF46 #46BA75 #4651BA #BA468B
square
#BAAF46 #46BA75 #4651BA #BA468B
split-complementary
#BAAF46 #468BBA #7546BA
monochromatic
#615C24 #8E8535 #BAAF46 #CBC273 #DBD69F

Accessibility & contrast

On white

2.26
#BAAF46 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.31
#BAAF46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAAF46
9.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAAF46#FFFFFF#000000##000000
##BAAF461.002.269.319.31
#FFFFFF2.261.0021.0021.00
#0000009.3121.001.001.00
##0000009.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAA3A
Deuteranopia (green-blind)
#C1AF4C
Tritanopia (blue-blind)
#C7A499
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #baaf46;
/* rgb */ color: rgb(186, 175, 70);
/* oklch */ color: oklch(74.3% 0.126 103.3);
Tailwind
colors: {
  custom: {
    50: '#d2c67e',
    500: '#baaf46',
    950: '#000000',
  },
}
SCSS
$custom: #baaf46;
$custom-light: #d2c67e;
$custom-dark: #000000;
JSON
{
  "hex": "#baaf46",
  "rgb": {
    "r": 186,
    "g": 175,
    "b": 70
  },
  "hsl": {
    "h": 54.31,
    "s": 45.669,
    "l": 50.196
  },
  "oklch": {
    "l": 0.74305,
    "c": 0.12591,
    "h": 103.3
  },
  "luminance": 0.41541
}

Semantic roles & 50–950 ramp

primary
#BAAF46
secondary
#9499C8
accent
#5FD552
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #BAAF46

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

Preview Lab → · Contrast checker → · Palette generator →

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