#C7C83C#C7C83C

#C7C83C is a light, vivid yellow. Relative luminance 0.538; OKLCH L 80.7% C 0.156 H 109.8°. Best body text is #000000 at 11.76:1 contrast (WCAG AA passes).

Color values

HEX#C7C83C
RGBrgb(199, 200, 60)
HSLhsl(60, 56%, 51%)
HSVhsv(60, 70%, 78%)
CMYKcmyk(0.5%, 0%, 70%, 21.6%)
CIE-LABlab(78.33, -16.84, 66.01)
CIE-LCHlch(78.33, 68.12, 104.31°)
OKLaboklab(80.74% -0.0529 0.1466)
OKLCHoklch(80.74% 0.156 109.8)
XYZxyz(45.0246, 53.7782, 12.2826)
Luminance0.5378 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C83C #3D3CC8
analogous
#C8833C #C7C83C #81C83C
triadic
#C7C83C #3CC7C8 #C83CC7
tetradic
#C7C83C #3CC883 #3D3CC8 #C83C81
square
#C7C83C #3CC883 #3D3CC8 #C83C81
split-complementary
#C7C83C #3C81C8 #833CC8
monochromatic
#6B6B1E #9A9B2C #C7C83C #D5D56C #E2E39B

Accessibility & contrast

On white

1.79
#C7C83C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.76
#C7C83C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C83C
11.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C83C#FFFFFF#000000##000000
##C7C83C1.001.7911.7611.76
#FFFFFF1.791.0021.0021.00
#00000011.7621.001.001.00
##00000011.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BF24
Deuteranopia (green-blind)
#D9C446
Tritanopia (blue-blind)
#D5BBAD
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c7c83c;
/* rgb */ color: rgb(199, 200, 60);
/* oklch */ color: oklch(80.7% 0.156 109.8);
Tailwind
colors: {
  custom: {
    50: '#dcd87b',
    500: '#c7c83c',
    950: '#000000',
  },
}
SCSS
$custom: #c7c83c;
$custom-light: #dcd87b;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c83c",
  "rgb": {
    "r": 199,
    "g": 200,
    "b": 60
  },
  "hsl": {
    "h": 60.429,
    "s": 56,
    "l": 50.98
  },
  "oklch": {
    "l": 0.80742,
    "c": 0.15584,
    "h": 109.8
  },
  "luminance": 0.53777
}

Semantic roles & 50–950 ramp

primary
#C7C83C
secondary
#343375
accent
#49DF4A
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C7C83C

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

Preview Lab → · Contrast checker → · Palette generator →

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