#BAAF43#BAAF43

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

Color values

HEX#BAAF43
RGBrgb(186, 175, 67)
HSLhsl(54, 47%, 50%)
HSVhsv(54, 64%, 73%)
CMYKcmyk(0%, 5.9%, 64%, 27.1%)
CIE-LABlab(70.53, -9.23, 54.94)
CIE-LCHlch(70.53, 55.71, 99.53°)
OKLaboklab(74.28% -0.0299 0.1248)
OKLCHoklch(74.28% 0.128 103.5)
XYZxyz(36.5942, 41.5057, 11.3929)
Luminance0.4150 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAF43 #434EBA
analogous
#BA7443 #BAAF43 #8ABA43
triadic
#BAAF43 #43BAAF #AF43BA
tetradic
#BAAF43 #43BA74 #434EBA #BA438A
square
#BAAF43 #43BA74 #434EBA #BA438A
split-complementary
#BAAF43 #438ABA #7443BA
monochromatic
#605A23 #8D8533 #BAAF43 #CBC36F #DBD69C

Accessibility & contrast

On white

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

On black

9.30
#BAAF43 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAAF43
9.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAAF43#FFFFFF#000000##000000
##BAAF431.002.269.309.30
#FFFFFF2.261.0021.0021.00
#0000009.3021.001.001.00
##0000009.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA936
Deuteranopia (green-blind)
#C2AF49
Tritanopia (blue-blind)
#C7A498
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #baaf43;
/* rgb */ color: rgb(186, 175, 67);
/* oklch */ color: oklch(74.3% 0.128 103.5);
Tailwind
colors: {
  custom: {
    50: '#d2c67c',
    500: '#baaf43',
    950: '#000000',
  },
}
SCSS
$custom: #baaf43;
$custom-light: #d2c67c;
$custom-dark: #000000;
JSON
{
  "hex": "#baaf43",
  "rgb": {
    "r": 186,
    "g": 175,
    "b": 67
  },
  "hsl": {
    "h": 54.454,
    "s": 47.036,
    "l": 49.608
  },
  "oklch": {
    "l": 0.74277,
    "c": 0.12831,
    "h": 103.5
  },
  "luminance": 0.41504
}

Semantic roles & 50–950 ramp

primary
#BAAF43
secondary
#9196C8
accent
#5DD751
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #BAAF43

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

Preview Lab → · Contrast checker → · Palette generator →

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