#BAAF3F#BAAF3F

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

Color values

HEX#BAAF3F
RGBrgb(186, 175, 63)
HSLhsl(55, 49%, 49%)
HSVhsv(55, 66%, 73%)
CMYKcmyk(0%, 5.9%, 66.1%, 27.1%)
CIE-LABlab(70.50, -9.47, 56.60)
CIE-LCHlch(70.50, 57.39, 99.50°)
OKLaboklab(74.24% -0.0311 0.1277)
OKLCHoklch(74.24% 0.131 103.7)
XYZxyz(36.4783, 41.4593, 10.7826)
Luminance0.4146 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAF3F #3F4ABA
analogous
#BA723F #BAAF3F #88BA3F
triadic
#BAAF3F #3FBAAF #AF3FBA
tetradic
#BAAF3F #3FBA72 #3F4ABA #BA3F88
square
#BAAF3F #3FBA72 #3F4ABA #BA3F88
split-complementary
#BAAF3F #3F88BA #723FBA
monochromatic
#5F5920 #8C8430 #BAAF3F #CCC46A #DCD697

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAAF3F#FFFFFF#000000##000000
##BAAF3F1.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)
#BEA930
Deuteranopia (green-blind)
#C2AF46
Tritanopia (blue-blind)
#C8A398
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #baaf3f;
/* rgb */ color: rgb(186, 175, 63);
/* oklch */ color: oklch(74.2% 0.131 103.7);
Tailwind
colors: {
  custom: {
    50: '#d2c67a',
    500: '#baaf3f',
    950: '#000000',
  },
}
SCSS
$custom: #baaf3f;
$custom-light: #d2c67a;
$custom-dark: #000000;
JSON
{
  "hex": "#baaf3f",
  "rgb": {
    "r": 186,
    "g": 175,
    "b": 63
  },
  "hsl": {
    "h": 54.634,
    "s": 49.398,
    "l": 48.824
  },
  "oklch": {
    "l": 0.74241,
    "c": 0.13138,
    "h": 103.7
  },
  "luminance": 0.41458
}

Semantic roles & 50–950 ramp

primary
#BAAF3F
secondary
#8D92C8
accent
#5BD94F
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#14130A
muted
#83827C

Preview Lab

Preview with #BAAF3F

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

Preview Lab → · Contrast checker → · Palette generator →

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