#C7BE4A#C7BE4A

#C7BE4A is a light, vivid yellow. Relative luminance 0.495; OKLCH L 78.7% C 0.136 H 104.9°. Best body text is #000000 at 10.89:1 contrast (WCAG AA passes).

Color values

HEX#C7BE4A
RGBrgb(199, 190, 74)
HSLhsl(56, 53%, 54%)
HSVhsv(56, 63%, 78%)
CMYKcmyk(0%, 4.5%, 62.8%, 22%)
CIE-LABlab(75.74, -10.99, 57.83)
CIE-LCHlch(75.74, 58.87, 100.76°)
OKLaboklab(78.71% -0.0349 0.1316)
OKLCHoklch(78.71% 0.136 104.9)
XYZxyz(43.2042, 49.4650, 13.7491)
Luminance0.4946 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BE4A #4A53C7
analogous
#C77F4A #C7BE4A #91C74A
triadic
#C7BE4A #4AC7BE #BE4AC7
tetradic
#C7BE4A #4AC77F #4A53C7 #C74A91
square
#C7BE4A #4AC77F #4A53C7 #C74A91
split-complementary
#C7BE4A #4A91C7 #7F4AC7
monochromatic
#736D24 #A29A32 #C7BE4A #D5CF79 #E4E0A7

Accessibility & contrast

On white

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

On black

10.89
#C7BE4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7BE4A
10.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7BE4A#FFFFFF#000000##000000
##C7BE4A1.001.9310.8910.89
#FFFFFF1.931.0021.0021.00
#00000010.8921.001.001.00
##00000010.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CEB83C
Deuteranopia (green-blind)
#D1BD51
Tritanopia (blue-blind)
#D5B2A6
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c7be4a;
/* rgb */ color: rgb(199, 190, 74);
/* oklch */ color: oklch(78.7% 0.136 104.9);
Tailwind
colors: {
  custom: {
    50: '#dbd182',
    500: '#c7be4a',
    950: '#000000',
  },
}
SCSS
$custom: #c7be4a;
$custom-light: #dbd182;
$custom-dark: #000000;
JSON
{
  "hex": "#c7be4a",
  "rgb": {
    "r": 199,
    "g": 190,
    "b": 74
  },
  "hsl": {
    "h": 55.68,
    "s": 52.743,
    "l": 53.529
  },
  "oklch": {
    "l": 0.78708,
    "c": 0.13615,
    "h": 104.9
  },
  "luminance": 0.49463
}

Semantic roles & 50–950 ramp

primary
#C7BE4A
secondary
#9C9FD1
accent
#56DC4C
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15140B
muted
#83827C

Preview Lab

Preview with #C7BE4A

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

Preview Lab → · Contrast checker → · Palette generator →

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