#C7BE40#C7BE40

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

Color values

HEX#C7BE40
RGBrgb(199, 190, 64)
HSLhsl(56, 55%, 52%)
HSVhsv(56, 68%, 78%)
CMYKcmyk(0%, 4.5%, 67.8%, 22%)
CIE-LABlab(75.66, -11.58, 61.85)
CIE-LCHlch(75.66, 62.92, 100.60°)
OKLaboklab(78.62% -0.0377 0.1385)
OKLCHoklch(78.62% 0.144 105.2)
XYZxyz(42.8937, 49.3408, 12.1138)
Luminance0.4934 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BE40 #4049C7
analogous
#C77B40 #C7BE40 #8DC740
triadic
#C7BE40 #40C7BE #BE40C7
tetradic
#C7BE40 #40C77B #4049C7 #C7408D
square
#C7BE40 #40C77B #4049C7 #C7408D
split-complementary
#C7BE40 #408DC7 #7B40C7
monochromatic
#6D6820 #9C952E #C7BE40 #D5CE6F #E3DE9F

Accessibility & contrast

On white

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

On black

10.87
#C7BE40 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7BE40
10.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7BE40#FFFFFF#000000##000000
##C7BE401.001.9310.8710.87
#FFFFFF1.931.0021.0021.00
#00000010.8721.001.001.00
##00000010.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB72E
Deuteranopia (green-blind)
#D2BD48
Tritanopia (blue-blind)
#D5B1A5
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #c7be40;
/* rgb */ color: rgb(199, 190, 64);
/* oklch */ color: oklch(78.6% 0.144 105.2);
Tailwind
colors: {
  custom: {
    50: '#dbd17c',
    500: '#c7be40',
    950: '#000000',
  },
}
SCSS
$custom: #c7be40;
$custom-light: #dbd17c;
$custom-dark: #000000;
JSON
{
  "hex": "#c7be40",
  "rgb": {
    "r": 199,
    "g": 190,
    "b": 64
  },
  "hsl": {
    "h": 56,
    "s": 54.656,
    "l": 51.569
  },
  "oklch": {
    "l": 0.78622,
    "c": 0.14354,
    "h": 105.2
  },
  "luminance": 0.49339
}

Semantic roles & 50–950 ramp

primary
#C7BE40
secondary
#9498CF
accent
#54DE4A
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15140A
muted
#83827C

Preview Lab

Preview with #C7BE40

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

Preview Lab → · Contrast checker → · Palette generator →

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