#C7BE3F#C7BE3F

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

Color values

HEX#C7BE3F
RGBrgb(199, 190, 63)
HSLhsl(56, 55%, 51%)
HSVhsv(56, 68%, 78%)
CMYKcmyk(0%, 4.5%, 68.3%, 22%)
CIE-LABlab(75.66, -11.63, 62.23)
CIE-LCHlch(75.66, 63.31, 100.59°)
OKLaboklab(78.61% -0.038 0.1391)
OKLCHoklch(78.61% 0.144 105.3)
XYZxyz(42.8655, 49.3295, 11.9652)
Luminance0.4933 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BE3F #3F48C7
analogous
#C77A3F #C7BE3F #8CC73F
triadic
#C7BE3F #3FC7BE #BE3FC7
tetradic
#C7BE3F #3FC77A #3F48C7 #C73F8C
square
#C7BE3F #3FC77A #3F48C7 #C73F8C
split-complementary
#C7BE3F #3F8CC7 #7A3FC7
monochromatic
#6C6720 #9B942D #C7BE3F #D5CE6E #E3DE9E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C7BE3F#FFFFFF#000000##000000
##C7BE3F1.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)
#CEB72C
Deuteranopia (green-blind)
#D2BD47
Tritanopia (blue-blind)
#D5B1A5
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #c7be3f;
/* rgb */ color: rgb(199, 190, 63);
/* oklch */ color: oklch(78.6% 0.144 105.3);
Tailwind
colors: {
  custom: {
    50: '#dbd17b',
    500: '#c7be3f',
    950: '#000000',
  },
}
SCSS
$custom: #c7be3f;
$custom-light: #dbd17b;
$custom-dark: #000000;
JSON
{
  "hex": "#c7be3f",
  "rgb": {
    "r": 199,
    "g": 190,
    "b": 63
  },
  "hsl": {
    "h": 56.029,
    "s": 54.839,
    "l": 51.373
  },
  "oklch": {
    "l": 0.78614,
    "c": 0.14423,
    "h": 105.3
  },
  "luminance": 0.49328
}

Semantic roles & 50–950 ramp

primary
#C7BE3F
secondary
#9397CF
accent
#53DE4A
background
#FDFCF7
surface
#FBF9EE
border
#D4D2C9
text
#15140A
muted
#83827C

Preview Lab

Preview with #C7BE3F

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

Preview Lab → · Contrast checker → · Palette generator →

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