#C7BE3B#C7BE3B

#C7BE3B is a light, vivid yellow. Relative luminance 0.493; OKLCH L 78.6% C 0.147 H 105.4°. Best body text is #000000 at 10.86:1 contrast (WCAG AA passes).

Color values

HEX#C7BE3B
RGBrgb(199, 190, 59)
HSLhsl(56, 56%, 51%)
HSVhsv(56, 70%, 78%)
CMYKcmyk(0%, 4.5%, 70.4%, 22%)
CIE-LABlab(75.63, -11.84, 63.72)
CIE-LCHlch(75.63, 64.81, 100.52°)
OKLaboklab(78.58% -0.039 0.1416)
OKLCHoklch(78.58% 0.147 105.4)
XYZxyz(42.7578, 49.2864, 11.3978)
Luminance0.4929 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BE3B #3B44C7
analogous
#C7783B #C7BE3B #8AC73B
triadic
#C7BE3B #3BC7BE #BE3BC7
tetradic
#C7BE3B #3BC778 #3B44C7 #C73B8A
square
#C7BE3B #3BC778 #3B44C7 #C73B8A
split-complementary
#C7BE3B #3B8AC7 #783BC7
monochromatic
#69651E #99922C #C7BE3B #D5CE6B #E2DE9A

Accessibility & contrast

On white

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

On black

10.86
#C7BE3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7BE3B
10.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7BE3B#FFFFFF#000000##000000
##C7BE3B1.001.9310.8610.86
#FFFFFF1.931.0021.0021.00
#00000010.8621.001.001.00
##00000010.8621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB726
Deuteranopia (green-blind)
#D2BD44
Tritanopia (blue-blind)
#D6B1A4
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #c7be3b;
/* rgb */ color: rgb(199, 190, 59);
/* oklch */ color: oklch(78.6% 0.147 105.4);
Tailwind
colors: {
  custom: {
    50: '#dcd179',
    500: '#c7be3b',
    950: '#000000',
  },
}
SCSS
$custom: #c7be3b;
$custom-light: #dcd179;
$custom-dark: #000000;
JSON
{
  "hex": "#c7be3b",
  "rgb": {
    "r": 199,
    "g": 190,
    "b": 59
  },
  "hsl": {
    "h": 56.143,
    "s": 55.556,
    "l": 50.588
  },
  "oklch": {
    "l": 0.78584,
    "c": 0.14686,
    "h": 105.4
  },
  "luminance": 0.49285
}

Semantic roles & 50–950 ramp

primary
#C7BE3B
secondary
#9094CE
accent
#53DF49
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15140A
muted
#83827C

Preview Lab

Preview with #C7BE3B

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

Preview Lab → · Contrast checker → · Palette generator →

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