#C6BF3F#C6BF3F

#C6BF3F is a light, vivid yellow. Relative luminance 0.496; OKLCH L 78.7% C 0.145 H 106.2°. Best body text is #000000 at 10.93:1 contrast (WCAG AA passes).

Color values

HEX#C6BF3F
RGBrgb(198, 191, 63)
HSLhsl(57, 54%, 51%)
HSVhsv(57, 68%, 78%)
CMYKcmyk(0%, 3.5%, 68.2%, 22.4%)
CIE-LABlab(75.84, -12.57, 62.39)
CIE-LCHlch(75.84, 63.64, 101.39°)
OKLaboklab(78.74% -0.0405 0.1395)
OKLCHoklch(78.74% 0.145 106.2)
XYZxyz(42.8183, 49.6278, 12.0253)
Luminance0.4963 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6BF3F #3F46C6
analogous
#C67B3F #C6BF3F #89C63F
triadic
#C6BF3F #3FC6BF #BF3FC6
tetradic
#C6BF3F #3FC67B #3F46C6 #C63F89
square
#C6BF3F #3FC67B #3F46C6 #C63F89
split-complementary
#C6BF3F #3F89C6 #7B3FC6
monochromatic
#6B6720 #9A942E #C6BF3F #D4CF6E #E2DE9D

Accessibility & contrast

On white

1.92
#C6BF3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.93
#C6BF3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6BF3F
10.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6BF3F#FFFFFF#000000##000000
##C6BF3F1.001.9210.9310.93
#FFFFFF1.921.0021.0021.00
#00000010.9321.001.001.00
##00000010.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB82C
Deuteranopia (green-blind)
#D2BD47
Tritanopia (blue-blind)
#D4B3A5
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c6bf3f;
/* rgb */ color: rgb(198, 191, 63);
/* oklch */ color: oklch(78.7% 0.145 106.2);
Tailwind
colors: {
  custom: {
    50: '#dbd27b',
    500: '#c6bf3f',
    950: '#000000',
  },
}
SCSS
$custom: #c6bf3f;
$custom-light: #dbd27b;
$custom-dark: #000000;
JSON
{
  "hex": "#c6bf3f",
  "rgb": {
    "r": 198,
    "g": 191,
    "b": 63
  },
  "hsl": {
    "h": 56.889,
    "s": 54.217,
    "l": 51.176
  },
  "oklch": {
    "l": 0.78741,
    "c": 0.14527,
    "h": 106.2
  },
  "luminance": 0.49626
}

Semantic roles & 50–950 ramp

primary
#C6BF3F
secondary
#9396CE
accent
#52DE4A
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15140A
muted
#83827C

Preview Lab

Preview with #C6BF3F

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

Preview Lab → · Contrast checker → · Palette generator →

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