#C6BA25#C6BA25

#C6BA25 is a light, vivid yellow. Relative luminance 0.473; OKLCH L 77.5% C 0.155 H 104.5°. Best body text is #000000 at 10.45:1 contrast (WCAG AA passes).

Color values

HEX#C6BA25
RGBrgb(198, 186, 37)
HSLhsl(56, 69%, 46%)
HSVhsv(56, 81%, 78%)
CMYKcmyk(0%, 6.1%, 81.3%, 22.4%)
CIE-LABlab(74.36, -11.11, 69.63)
CIE-LCHlch(74.36, 70.51, 99.06°)
OKLaboklab(77.51% -0.0388 0.1502)
OKLCHoklch(77.51% 0.155 104.5)
XYZxyz(41.1834, 47.2589, 8.7025)
Luminance0.4726 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6BA25 #2531C6
analogous
#C66925 #C6BA25 #81C625
triadic
#C6BA25 #25C6BA #BA25C6
tetradic
#C6BA25 #25C669 #2531C6 #C62581
square
#C6BA25 #25C669 #2531C6 #C62581
split-complementary
#C6BA25 #2581C6 #6925C6
monochromatic
#5F5912 #928A1B #C6BA25 #DDD24B #E7DF7E

Accessibility & contrast

On white

2.01
#C6BA25 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.45
#C6BA25 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6BA25
10.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6BA25#FFFFFF#000000##000000
##C6BA251.002.0110.4510.45
#FFFFFF2.011.0021.0021.00
#00000010.4521.001.001.00
##00000010.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB300
Deuteranopia (green-blind)
#CFBA32
Tritanopia (blue-blind)
#D5AD9F
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #c6ba25;
/* rgb */ color: rgb(198, 186, 37);
/* oklch */ color: oklch(77.5% 0.155 104.5);
Tailwind
colors: {
  custom: {
    50: '#dcce6f',
    500: '#c6ba25',
    950: '#000000',
  },
}
SCSS
$custom: #c6ba25;
$custom-light: #dcce6f;
$custom-dark: #000000;
JSON
{
  "hex": "#c6ba25",
  "rgb": {
    "r": 198,
    "g": 186,
    "b": 37
  },
  "hsl": {
    "h": 55.528,
    "s": 68.511,
    "l": 46.078
  },
  "oklch": {
    "l": 0.77513,
    "c": 0.1551,
    "h": 104.5
  },
  "luminance": 0.47257
}

Semantic roles & 50–950 ramp

primary
#C6BA25
secondary
#777ECF
accent
#49EB3C
background
#FEFCF7
surface
#FCF9ED
border
#D5D2C8
text
#161308
muted
#84827B

Preview Lab

Preview with #C6BA25

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

Preview Lab → · Contrast checker → · Palette generator →

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