#BAAF3D#BAAF3D

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

Color values

HEX#BAAF3D
RGBrgb(186, 175, 61)
HSLhsl(55, 51%, 48%)
HSVhsv(55, 67%, 73%)
CMYKcmyk(0%, 5.9%, 67.2%, 27.1%)
CIE-LABlab(70.48, -9.59, 57.41)
CIE-LCHlch(70.48, 58.20, 99.48°)
OKLaboklab(74.22% -0.0316 0.129)
OKLCHoklch(74.22% 0.133 103.8)
XYZxyz(36.4234, 41.4374, 10.4936)
Luminance0.4144 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAAF3D #3D48BA
analogous
#BA703D #BAAF3D #86BA3D
triadic
#BAAF3D #3DBAAF #AF3DBA
tetradic
#BAAF3D #3DBA70 #3D48BA #BA3D86
square
#BAAF3D #3DBA70 #3D48BA #BA3D86
split-complementary
#BAAF3D #3D86BA #703DBA
monochromatic
#5E581F #8C842E #BAAF3D #CDC467 #DCD695

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BAAF3D#FFFFFF#000000##000000
##BAAF3D1.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)
#BEA92D
Deuteranopia (green-blind)
#C2AF44
Tritanopia (blue-blind)
#C8A398
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #baaf3d;
/* rgb */ color: rgb(186, 175, 61);
/* oklch */ color: oklch(74.2% 0.133 103.8);
Tailwind
colors: {
  custom: {
    50: '#d2c679',
    500: '#baaf3d',
    950: '#000000',
  },
}
SCSS
$custom: #baaf3d;
$custom-light: #d2c679;
$custom-dark: #000000;
JSON
{
  "hex": "#baaf3d",
  "rgb": {
    "r": 186,
    "g": 175,
    "b": 61
  },
  "hsl": {
    "h": 54.72,
    "s": 50.607,
    "l": 48.431
  },
  "oklch": {
    "l": 0.74224,
    "c": 0.13286,
    "h": 103.8
  },
  "luminance": 0.41436
}

Semantic roles & 50–950 ramp

primary
#BAAF3D
secondary
#8B90C8
accent
#5ADA4E
background
#FDFCF7
surface
#FAF8EE
border
#D3D1C9
text
#141309
muted
#83827B

Preview Lab

Preview with #BAAF3D

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

Preview Lab → · Contrast checker → · Palette generator →

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