#C7BE4F#C7BE4F

#C7BE4F is a light, vivid yellow. Relative luminance 0.495; OKLCH L 78.8% C 0.132 H 104.7°. Best body text is #000000 at 10.91:1 contrast (WCAG AA passes).

Color values

HEX#C7BE4F
RGBrgb(199, 190, 79)
HSLhsl(56, 52%, 55%)
HSVhsv(56, 60%, 78%)
CMYKcmyk(0%, 4.5%, 60.3%, 22%)
CIE-LABlab(75.78, -10.65, 55.71)
CIE-LCHlch(75.78, 56.72, 100.83°)
OKLaboklab(78.76% -0.0334 0.1278)
OKLCHoklch(78.76% 0.132 104.7)
XYZxyz(43.3794, 49.5350, 14.6718)
Luminance0.4953 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BE4F #4F58C7
analogous
#C7824F #C7BE4F #94C74F
triadic
#C7BE4F #4FC7BE #BE4FC7
tetradic
#C7BE4F #4FC782 #4F58C7 #C74F94
square
#C7BE4F #4FC782 #4F58C7 #C74F94
split-complementary
#C7BE4F #4F94C7 #824FC7
monochromatic
#767026 #A49C34 #C7BE4F #D6CF7D #E5E0AC

Accessibility & contrast

On white

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

On black

10.91
#C7BE4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7BE4F
10.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7BE4F#FFFFFF#000000##000000
##C7BE4F1.001.9310.9110.91
#FFFFFF1.931.0021.0021.00
#00000010.9121.001.001.00
##00000010.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c7be4f;
/* rgb */ color: rgb(199, 190, 79);
/* oklch */ color: oklch(78.8% 0.132 104.7);
Tailwind
colors: {
  custom: {
    50: '#dbd185',
    500: '#c7be4f',
    950: '#000000',
  },
}
SCSS
$custom: #c7be4f;
$custom-light: #dbd185;
$custom-dark: #000000;
JSON
{
  "hex": "#c7be4f",
  "rgb": {
    "r": 199,
    "g": 190,
    "b": 79
  },
  "hsl": {
    "h": 55.5,
    "s": 51.724,
    "l": 54.51
  },
  "oklch": {
    "l": 0.78756,
    "c": 0.1321,
    "h": 104.7
  },
  "luminance": 0.49534
}

Semantic roles & 50–950 ramp

primary
#C7BE4F
secondary
#A0A3D2
accent
#57DB4D
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15140B
muted
#83827C

Preview Lab

Preview with #C7BE4F

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

Preview Lab → · Contrast checker → · Palette generator →

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