#C6BE38#C6BE38

#C6BE38 is a light, vivid yellow. Relative luminance 0.491; OKLCH L 78.5% C 0.149 H 105.9°. Best body text is #000000 at 10.82:1 contrast (WCAG AA passes).

Color values

HEX#C6BE38
RGBrgb(198, 190, 56)
HSLhsl(57, 56%, 50%)
HSVhsv(57, 72%, 78%)
CMYKcmyk(0%, 4%, 71.7%, 22.4%)
CIE-LABlab(75.53, -12.41, 64.69)
CIE-LCHlch(75.53, 65.87, 100.86°)
OKLaboklab(78.48% -0.0408 0.1432)
OKLCHoklch(78.48% 0.149 105.9)
XYZxyz(42.4177, 49.1198, 10.9873)
Luminance0.4912 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6BE38 #3840C6
analogous
#C67738 #C6BE38 #87C638
triadic
#C6BE38 #38C6BE #BE38C6
tetradic
#C6BE38 #38C677 #3840C6 #C63887
square
#C6BE38 #38C677 #3840C6 #C63887
split-complementary
#C6BE38 #3887C6 #7738C6
monochromatic
#67621D #96902B #C6BE38 #D4CE67 #E2DD97

Accessibility & contrast

On white

1.94
#C6BE38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.82
#C6BE38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6BE38
10.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6BE38#FFFFFF#000000##000000
##C6BE381.001.9410.8210.82
#FFFFFF1.941.0021.0021.00
#00000010.8221.001.001.00
##00000010.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB720
Deuteranopia (green-blind)
#D2BD42
Tritanopia (blue-blind)
#D5B1A4
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #c6be38;
/* rgb */ color: rgb(198, 190, 56);
/* oklch */ color: oklch(78.5% 0.149 105.9);
Tailwind
colors: {
  custom: {
    50: '#dbd178',
    500: '#c6be38',
    950: '#000000',
  },
}
SCSS
$custom: #c6be38;
$custom-light: #dbd178;
$custom-dark: #000000;
JSON
{
  "hex": "#c6be38",
  "rgb": {
    "r": 198,
    "g": 190,
    "b": 56
  },
  "hsl": {
    "h": 56.62,
    "s": 55.906,
    "l": 49.804
  },
  "oklch": {
    "l": 0.78476,
    "c": 0.14886,
    "h": 105.9
  },
  "luminance": 0.49118
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #C6BE38

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

Preview Lab → · Contrast checker → · Palette generator →

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