#BAAF3C#BAAF3C

#BAAF3C is a light, vivid yellow. Relative luminance 0.414; OKLCH L 74.2% C 0.134 H 103.8°. Best body text is #000000 at 9.29:1 contrast (WCAG AA passes).

Color values

HEX#BAAF3C
RGBrgb(186, 175, 60)
HSLhsl(55, 51%, 48%)
HSVhsv(55, 68%, 73%)
CMYKcmyk(0%, 5.9%, 67.7%, 27.1%)
CIE-LABlab(70.47, -9.64, 57.81)
CIE-LCHlch(70.47, 58.61, 99.47°)
OKLaboklab(74.22% -0.0319 0.1297)
OKLCHoklch(74.22% 0.134 103.8)
XYZxyz(36.3967, 41.4267, 10.3530)
Luminance0.4143 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAF3C #3C47BA
analogous
#BA703C #BAAF3C #86BA3C
triadic
#BAAF3C #3CBAAF #AF3CBA
tetradic
#BAAF3C #3CBA70 #3C47BA #BA3C86
square
#BAAF3C #3CBA70 #3C47BA #BA3C86
split-complementary
#BAAF3C #3C86BA #703CBA
monochromatic
#5D581E #8C832D #BAAF3C #CEC466 #DCD694

Accessibility & contrast

On white

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

On black

9.29
#BAAF3C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAAF3C
9.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAAF3C#FFFFFF#000000##000000
##BAAF3C1.002.269.299.29
#FFFFFF2.261.0021.0021.00
#0000009.2921.001.001.00
##0000009.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA92C
Deuteranopia (green-blind)
#C2AF43
Tritanopia (blue-blind)
#C8A398
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #baaf3c;
/* rgb */ color: rgb(186, 175, 60);
/* oklch */ color: oklch(74.2% 0.134 103.8);
Tailwind
colors: {
  custom: {
    50: '#d2c678',
    500: '#baaf3c',
    950: '#000000',
  },
}
SCSS
$custom: #baaf3c;
$custom-light: #d2c678;
$custom-dark: #000000;
JSON
{
  "hex": "#baaf3c",
  "rgb": {
    "r": 186,
    "g": 175,
    "b": 60
  },
  "hsl": {
    "h": 54.762,
    "s": 51.22,
    "l": 48.235
  },
  "oklch": {
    "l": 0.74216,
    "c": 0.13358,
    "h": 103.8
  },
  "luminance": 0.41425
}

Semantic roles & 50–950 ramp

primary
#BAAF3C
secondary
#8A8FC8
accent
#59DB4D
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B

Preview Lab

Preview with #BAAF3C

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

Preview Lab → · Contrast checker → · Palette generator →

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