#BAB62F#BAB62F

#BAB62F is a light, vivid yellow. Relative luminance 0.441; OKLCH L 75.6% C 0.148 H 107.7°. Best body text is #000000 at 9.82:1 contrast (WCAG AA passes).

Color values

HEX#BAB62F
RGBrgb(186, 182, 47)
HSLhsl(58, 60%, 46%)
HSVhsv(58, 75%, 73%)
CMYKcmyk(0%, 2.2%, 74.7%, 27.1%)
CIE-LABlab(72.30, -13.89, 64.39)
CIE-LCHlch(72.30, 65.87, 102.18°)
OKLaboklab(75.64% -0.0452 0.1413)
OKLCHoklch(75.64% 0.148 107.7)
XYZxyz(37.4922, 44.1015, 9.2263)
Luminance0.4410 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BAB62F #2F33BA
analogous
#BA702F #BAB62F #79BA2F
triadic
#BAB62F #2FBAB6 #B62FBA
tetradic
#BAB62F #2FBA70 #2F33BA #BA2F79
square
#BAB62F #2FBA70 #2F33BA #BA2F79
split-complementary
#BAB62F #2F79BA #702FBA
monochromatic
#585616 #898623 #BAB62F #D3D053 #E0DD84

Accessibility & contrast

On white

2.14
#BAB62F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.82
#BAB62F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #BAB62F
9.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BAB62F#FFFFFF#000000##000000
##BAB62F1.002.149.829.82
#FFFFFF2.141.0021.0021.00
#0000009.8221.001.001.00
##0000009.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF11
Deuteranopia (green-blind)
#C8B33A
Tritanopia (blue-blind)
#C8AA9C
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #bab62f;
/* rgb */ color: rgb(186, 182, 47);
/* oklch */ color: oklch(75.6% 0.148 107.7);
Tailwind
colors: {
  custom: {
    50: '#d2cb72',
    500: '#bab62f',
    950: '#000000',
  },
}
SCSS
$custom: #bab62f;
$custom-light: #d2cb72;
$custom-dark: #000000;
JSON
{
  "hex": "#bab62f",
  "rgb": {
    "r": 186,
    "g": 182,
    "b": 47
  },
  "hsl": {
    "h": 58.273,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.75641,
    "c": 0.14835,
    "h": 107.7
  },
  "luminance": 0.441
}

Semantic roles & 50–950 ramp

primary
#BAB62F
secondary
#7C7EC9
accent
#4AE345
background
#FDFCF7
surface
#FAF8ED
border
#D3D1C8
text
#151309
muted
#83827B

Preview Lab

Preview with #BAB62F

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

Preview Lab → · Contrast checker → · Palette generator →

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