#C7BE2C#C7BE2C

#C7BE2C is a light, vivid yellow. Relative luminance 0.492; OKLCH L 78.5% C 0.155 H 105.8°. Best body text is #000000 at 10.83:1 contrast (WCAG AA passes).

Color values

HEX#C7BE2C
RGBrgb(199, 190, 44)
HSLhsl(57, 64%, 48%)
HSVhsv(57, 78%, 78%)
CMYKcmyk(0%, 4.5%, 77.9%, 22%)
CIE-LABlab(75.55, -12.48, 68.71)
CIE-LCHlch(75.55, 69.84, 100.30°)
OKLaboklab(78.49% -0.0421 0.1495)
OKLCHoklch(78.49% 0.155 105.8)
XYZxyz(42.4231, 49.1525, 9.6351)
Luminance0.4915 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7BE2C #2C35C7
analogous
#C7702C #C7BE2C #83C72C
triadic
#C7BE2C #2CC7BE #BE2CC7
tetradic
#C7BE2C #2CC770 #2C35C7 #C72C83
square
#C7BE2C #2CC770 #2C35C7 #C72C83
split-complementary
#C7BE2C #2C83C7 #702CC7
monochromatic
#635E16 #958E21 #C7BE2C #DAD256 #E5DF89

Accessibility & contrast

On white

1.94
#C7BE2C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.83
#C7BE2C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7BE2C
10.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7BE2C#FFFFFF#000000##000000
##C7BE2C1.001.9410.8310.83
#FFFFFF1.941.0021.0021.00
#00000010.8321.001.001.00
##00000010.8321.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB700
Deuteranopia (green-blind)
#D2BD38
Tritanopia (blue-blind)
#D6B1A3
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #c7be2c;
/* rgb */ color: rgb(199, 190, 44);
/* oklch */ color: oklch(78.5% 0.155 105.8);
Tailwind
colors: {
  custom: {
    50: '#dcd172',
    500: '#c7be2c',
    950: '#000000',
  },
}
SCSS
$custom: #c7be2c;
$custom-light: #dcd172;
$custom-dark: #000000;
JSON
{
  "hex": "#c7be2c",
  "rgb": {
    "r": 199,
    "g": 190,
    "b": 44
  },
  "hsl": {
    "h": 56.516,
    "s": 63.786,
    "l": 47.647
  },
  "oklch": {
    "l": 0.78492,
    "c": 0.15528,
    "h": 105.8
  },
  "luminance": 0.49151
}

Semantic roles & 50–950 ramp

primary
#C7BE2C
secondary
#8085CF
accent
#4BE741
background
#FEFCF7
surface
#FCF9ED
border
#D5D2C8
text
#161409
muted
#84827B

Preview Lab

Preview with #C7BE2C

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

Preview Lab → · Contrast checker → · Palette generator →

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