#C7BE3A#C7BE3A

#C7BE3A 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#C7BE3A
RGBrgb(199, 190, 58)
HSLhsl(56, 56%, 50%)
HSVhsv(56, 71%, 78%)
CMYKcmyk(0%, 4.5%, 70.9%, 22%)
CIE-LABlab(75.62, -11.89, 64.09)
CIE-LCHlch(75.62, 65.18, 100.51°)
OKLaboklab(78.58% -0.0392 0.1422)
OKLCHoklch(78.58% 0.147 105.4)
XYZxyz(42.7321, 49.2761, 11.2625)
Luminance0.4928 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BE3A #3A43C7
analogous
#C7773A #C7BE3A #8AC73A
triadic
#C7BE3A #3AC7BE #BE3AC7
tetradic
#C7BE3A #3AC777 #3A43C7 #C73A8A
square
#C7BE3A #3AC777 #3A43C7 #C73A8A
split-complementary
#C7BE3A #3A8AC7 #773AC7
monochromatic
#69641E #98912B #C7BE3A #D5CE6A #E2DD99

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7BE3A#FFFFFF#000000##000000
##C7BE3A1.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)
#CEB724
Deuteranopia (green-blind)
#D2BD43
Tritanopia (blue-blind)
#D6B1A4
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #c7be3a;
/* rgb */ color: rgb(199, 190, 58);
/* oklch */ color: oklch(78.6% 0.147 105.4);
Tailwind
colors: {
  custom: {
    50: '#dcd179',
    500: '#c7be3a',
    950: '#000000',
  },
}
SCSS
$custom: #c7be3a;
$custom-light: #dcd179;
$custom-dark: #000000;
JSON
{
  "hex": "#c7be3a",
  "rgb": {
    "r": 199,
    "g": 190,
    "b": 58
  },
  "hsl": {
    "h": 56.17,
    "s": 55.731,
    "l": 50.392
  },
  "oklch": {
    "l": 0.78577,
    "c": 0.14749,
    "h": 105.4
  },
  "luminance": 0.49275
}

Semantic roles & 50–950 ramp

primary
#C7BE3A
secondary
#8F93CE
accent
#52DF49
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15140A
muted
#83827C

Preview Lab

Preview with #C7BE3A

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

Preview Lab → · Contrast checker → · Palette generator →

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