#C6BA4E#C6BA4E

#C6BA4E is a light, vivid yellow. Relative luminance 0.477; OKLCH L 77.8% C 0.129 H 103.0°. Best body text is #000000 at 10.53:1 contrast (WCAG AA passes).

Color values

HEX#C6BA4E
RGBrgb(198, 186, 78)
HSLhsl(54, 51%, 54%)
HSVhsv(54, 61%, 78%)
CMYKcmyk(0%, 6.1%, 60.6%, 22.4%)
CIE-LABlab(74.62, -9.09, 54.85)
CIE-LCHlch(74.62, 55.60, 99.41°)
OKLaboklab(77.81% -0.029 0.1259)
OKLCHoklch(77.81% 0.129 103)
XYZxyz(42.2243, 47.6752, 14.1843)
Luminance0.4767 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6BA4E #4E5AC6
analogous
#C67E4E #C6BA4E #96C64E
triadic
#C6BA4E #4EC6BA #BA4EC6
tetradic
#C6BA4E #4EC67E #4E5AC6 #C64E96
square
#C6BA4E #4EC67E #4E5AC6 #C64E96
split-complementary
#C6BA4E #4E96C6 #7E4EC6
monochromatic
#746C25 #A29734 #C6BA4E #D5CC7C #E4DEAB

Accessibility & contrast

On white

1.99
#C6BA4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.53
#C6BA4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6BA4E
10.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6BA4E#FFFFFF#000000##000000
##C6BA4E1.001.9910.5310.53
#FFFFFF1.991.0021.0021.00
#00000010.5321.001.001.00
##00000010.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B442
Deuteranopia (green-blind)
#CDBA54
Tritanopia (blue-blind)
#D4AEA3
Achromatopsia (no color)
#B8B8B8

Design tokens & code

CSS
--color: #c6ba4e;
/* rgb */ color: rgb(198, 186, 78);
/* oklch */ color: oklch(77.8% 0.129 103.0);
Tailwind
colors: {
  custom: {
    50: '#dace84',
    500: '#c6ba4e',
    950: '#000000',
  },
}
SCSS
$custom: #c6ba4e;
$custom-light: #dace84;
$custom-dark: #000000;
JSON
{
  "hex": "#c6ba4e",
  "rgb": {
    "r": 198,
    "g": 186,
    "b": 78
  },
  "hsl": {
    "h": 54,
    "s": 51.282,
    "l": 54.118
  },
  "oklch": {
    "l": 0.77808,
    "c": 0.12916,
    "h": 103
  },
  "luminance": 0.47674
}

Semantic roles & 50–950 ramp

primary
#C6BA4E
secondary
#9EA3D1
accent
#5BDB4D
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15130B
muted
#83827C

Preview Lab

Preview with #C6BA4E

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

Preview Lab → · Contrast checker → · Palette generator →

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