#C6BF38#C6BF38

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

Color values

HEX#C6BF38
RGBrgb(198, 191, 56)
HSLhsl(57, 56%, 50%)
HSVhsv(57, 72%, 78%)
CMYKcmyk(0%, 3.5%, 71.7%, 22.4%)
CIE-LABlab(75.79, -12.92, 64.95)
CIE-LCHlch(75.79, 66.22, 101.25°)
OKLaboklab(78.69% -0.0422 0.1437)
OKLCHoklch(78.69% 0.15 106.4)
XYZxyz(42.6350, 49.5544, 11.0598)
Luminance0.4955 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6BF38 #383FC6
analogous
#C67838 #C6BF38 #86C638
triadic
#C6BF38 #38C6BF #BF38C6
tetradic
#C6BF38 #38C678 #383FC6 #C63886
square
#C6BF38 #38C678 #383FC6 #C63886
split-complementary
#C6BF38 #3886C6 #7838C6
monochromatic
#67631D #96912B #C6BF38 #D4CF67 #E2DE97

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C6BF38#FFFFFF#000000##000000
##C6BF381.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)
#CFB820
Deuteranopia (green-blind)
#D2BD42
Tritanopia (blue-blind)
#D5B2A5
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c6bf38;
/* rgb */ color: rgb(198, 191, 56);
/* oklch */ color: oklch(78.7% 0.150 106.4);
Tailwind
colors: {
  custom: {
    50: '#dbd278',
    500: '#c6bf38',
    950: '#000000',
  },
}
SCSS
$custom: #c6bf38;
$custom-light: #dbd278;
$custom-dark: #000000;
JSON
{
  "hex": "#c6bf38",
  "rgb": {
    "r": 198,
    "g": 191,
    "b": 56
  },
  "hsl": {
    "h": 57.042,
    "s": 55.906,
    "l": 49.804
  },
  "oklch": {
    "l": 0.7869,
    "c": 0.14978,
    "h": 106.4
  },
  "luminance": 0.49553
}

Semantic roles & 50–950 ramp

primary
#C6BF38
secondary
#8D90CD
accent
#50DF49
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#151409
muted
#83827B

Preview Lab

Preview with #C6BF38

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

Preview Lab → · Contrast checker → · Palette generator →

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