#C6BF2D#C6BF2D

#C6BF2D is a light, vivid yellow. Relative luminance 0.495; OKLCH L 78.6% C 0.156 H 106.6°. Best body text is #000000 at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#C6BF2D
RGBrgb(198, 191, 45)
HSLhsl(57, 63%, 48%)
HSVhsv(57, 77%, 78%)
CMYKcmyk(0%, 3.5%, 77.3%, 22.4%)
CIE-LABlab(75.74, -13.38, 68.55)
CIE-LCHlch(75.74, 69.84, 101.05°)
OKLaboklab(78.62% -0.0445 0.1493)
OKLCHoklch(78.62% 0.156 106.6)
XYZxyz(42.3949, 49.4584, 9.7954)
Luminance0.4946 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6BF2D #2D34C6
analogous
#C6732D #C6BF2D #80C62D
triadic
#C6BF2D #2DC6BF #BF2DC6
tetradic
#C6BF2D #2DC673 #2D34C6 #C62D80
square
#C6BF2D #2DC673 #2D34C6 #C62D80
split-complementary
#C6BF2D #2D80C6 #732DC6
monochromatic
#625F16 #948F22 #C6BF2D #D9D357 #E4E089

Accessibility & contrast

On white

1.93
#C6BF2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.89
#C6BF2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6BF2D
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6BF2D#FFFFFF#000000##000000
##C6BF2D1.001.9310.8910.89
#FFFFFF1.931.0021.0021.00
#00000010.8921.001.001.00
##00000010.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0B801
Deuteranopia (green-blind)
#D3BD39
Tritanopia (blue-blind)
#D5B2A4
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c6bf2d;
/* rgb */ color: rgb(198, 191, 45);
/* oklch */ color: oklch(78.6% 0.156 106.6);
Tailwind
colors: {
  custom: {
    50: '#dbd273',
    500: '#c6bf2d',
    950: '#000000',
  },
}
SCSS
$custom: #c6bf2d;
$custom-light: #dbd273;
$custom-dark: #000000;
JSON
{
  "hex": "#c6bf2d",
  "rgb": {
    "r": 198,
    "g": 191,
    "b": 45
  },
  "hsl": {
    "h": 57.255,
    "s": 62.963,
    "l": 47.647
  },
  "oklch": {
    "l": 0.78624,
    "c": 0.15583,
    "h": 106.6
  },
  "luminance": 0.49457
}

Semantic roles & 50–950 ramp

primary
#C6BF2D
secondary
#8184CE
accent
#49E642
background
#FEFCF7
surface
#FCF9ED
border
#D5D2C8
text
#161409
muted
#84827B

Preview Lab

Preview with #C6BF2D

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

Preview Lab → · Contrast checker → · Palette generator →

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