#C6BA45#C6BA45

#C6BA45 is a light, vivid yellow. Relative luminance 0.476; OKLCH L 77.7% C 0.136 H 103.4°. Best body text is #000000 at 10.51:1 contrast (WCAG AA passes).

Color values

HEX#C6BA45
RGBrgb(198, 186, 69)
HSLhsl(54, 53%, 52%)
HSVhsv(54, 65%, 78%)
CMYKcmyk(0%, 6.1%, 65.2%, 22.4%)
CIE-LABlab(74.54, -9.67, 58.65)
CIE-LCHlch(74.54, 59.44, 99.36°)
OKLaboklab(77.72% -0.0317 0.1326)
OKLCHoklch(77.72% 0.136 103.4)
XYZxyz(41.9234, 47.5549, 12.5998)
Luminance0.4755 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6BA45 #4551C6
analogous
#C67A45 #C6BA45 #91C645
triadic
#C6BA45 #45C6BA #BA45C6
tetradic
#C6BA45 #45C67A #4551C6 #C64591
square
#C6BA45 #45C67A #4551C6 #C64591
split-complementary
#C6BA45 #4591C6 #7A45C6
monochromatic
#6F6822 #9E9330 #C6BA45 #D4CB74 #E3DDA3

Accessibility & contrast

On white

2.00
#C6BA45 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.51
#C6BA45 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6BA45
10.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6BA45#FFFFFF#000000##000000
##C6BA451.002.0010.5110.51
#FFFFFF2.001.0021.0021.00
#00000010.5121.001.001.00
##00000010.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CAB436
Deuteranopia (green-blind)
#CEBA4C
Tritanopia (blue-blind)
#D4AEA2
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c6ba45;
/* rgb */ color: rgb(198, 186, 69);
/* oklch */ color: oklch(77.7% 0.136 103.4);
Tailwind
colors: {
  custom: {
    50: '#dace7e',
    500: '#c6ba45',
    950: '#000000',
  },
}
SCSS
$custom: #c6ba45;
$custom-light: #dace7e;
$custom-dark: #000000;
JSON
{
  "hex": "#c6ba45",
  "rgb": {
    "r": 198,
    "g": 186,
    "b": 69
  },
  "hsl": {
    "h": 54.419,
    "s": 53.086,
    "l": 52.353
  },
  "oklch": {
    "l": 0.77723,
    "c": 0.13632,
    "h": 103.4
  },
  "luminance": 0.47553
}

Semantic roles & 50–950 ramp

primary
#C6BA45
secondary
#979DCF
accent
#59DC4B
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15130A
muted
#83827C

Preview Lab

Preview with #C6BA45

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

Preview Lab → · Contrast checker → · Palette generator →

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