#BAAF44#BAAF44

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

Color values

HEX#BAAF44
RGBrgb(186, 175, 68)
HSLhsl(54, 46%, 50%)
HSVhsv(54, 63%, 73%)
CMYKcmyk(0%, 5.9%, 63.4%, 27.1%)
CIE-LABlab(70.54, -9.16, 54.52)
CIE-LCHlch(70.54, 55.28, 99.54°)
OKLaboklab(74.29% -0.0297 0.124)
OKLCHoklch(74.29% 0.128 103.4)
XYZxyz(36.6244, 41.5178, 11.5523)
Luminance0.4152 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAF44 #444FBA
analogous
#BA7444 #BAAF44 #8ABA44
triadic
#BAAF44 #44BAAF #AF44BA
tetradic
#BAAF44 #44BA74 #444FBA #BA448A
square
#BAAF44 #44BA74 #444FBA #BA448A
split-complementary
#BAAF44 #448ABA #7444BA
monochromatic
#605B23 #8D8534 #BAAF44 #CBC270 #DBD59D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAAF44#FFFFFF#000000##000000
##BAAF441.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)
#BEA937
Deuteranopia (green-blind)
#C1AF4A
Tritanopia (blue-blind)
#C7A499
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #baaf44;
/* rgb */ color: rgb(186, 175, 68);
/* oklch */ color: oklch(74.3% 0.128 103.4);
Tailwind
colors: {
  custom: {
    50: '#d2c67d',
    500: '#baaf44',
    950: '#000000',
  },
}
SCSS
$custom: #baaf44;
$custom-light: #d2c67d;
$custom-dark: #000000;
JSON
{
  "hex": "#baaf44",
  "rgb": {
    "r": 186,
    "g": 175,
    "b": 68
  },
  "hsl": {
    "h": 54.407,
    "s": 46.457,
    "l": 49.804
  },
  "oklch": {
    "l": 0.74286,
    "c": 0.12753,
    "h": 103.4
  },
  "luminance": 0.41516
}

Semantic roles & 50–950 ramp

primary
#BAAF44
secondary
#9297C8
accent
#5ED652
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #BAAF44

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

Preview Lab → · Contrast checker → · Palette generator →

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