#C6BF39#C6BF39

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

Color values

HEX#C6BF39
RGBrgb(198, 191, 57)
HSLhsl(57, 55%, 50%)
HSVhsv(57, 71%, 78%)
CMYKcmyk(0%, 3.5%, 71.2%, 22.4%)
CIE-LABlab(75.80, -12.87, 64.60)
CIE-LCHlch(75.80, 65.87, 101.27°)
OKLaboklab(78.7% -0.042 0.1431)
OKLCHoklch(78.7% 0.149 106.4)
XYZxyz(42.6597, 49.5643, 11.1898)
Luminance0.4956 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6BF39 #3940C6
analogous
#C67839 #C6BF39 #87C639
triadic
#C6BF39 #39C6BF #BF39C6
tetradic
#C6BF39 #39C678 #3940C6 #C63987
square
#C6BF39 #39C678 #3940C6 #C63987
split-complementary
#C6BF39 #3987C6 #7839C6
monochromatic
#67631E #96912B #C6BF39 #D4CE69 #E1DE98

Accessibility & contrast

On white

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

On black

10.91
#C6BF39 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6BF39
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6BF39#FFFFFF#000000##000000
##C6BF391.001.9210.9110.91
#FFFFFF1.921.0021.0021.00
#00000010.9121.001.001.00
##00000010.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB822
Deuteranopia (green-blind)
#D2BD43
Tritanopia (blue-blind)
#D4B2A5
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c6bf39;
/* rgb */ color: rgb(198, 191, 57);
/* oklch */ color: oklch(78.7% 0.149 106.4);
Tailwind
colors: {
  custom: {
    50: '#dbd278',
    500: '#c6bf39',
    950: '#000000',
  },
}
SCSS
$custom: #c6bf39;
$custom-light: #dbd278;
$custom-dark: #000000;
JSON
{
  "hex": "#c6bf39",
  "rgb": {
    "r": 198,
    "g": 191,
    "b": 57
  },
  "hsl": {
    "h": 57.021,
    "s": 55.294,
    "l": 50
  },
  "oklch": {
    "l": 0.78697,
    "c": 0.14917,
    "h": 106.4
  },
  "luminance": 0.49563
}

Semantic roles & 50–950 ramp

primary
#C6BF39
secondary
#8E91CD
accent
#51DF49
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#151409
muted
#83827B

Preview Lab

Preview with #C6BF39

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

Preview Lab → · Contrast checker → · Palette generator →

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