#C7C83A#C7C83A

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

Color values

HEX#C7C83A
RGBrgb(199, 200, 58)
HSLhsl(60, 56%, 51%)
HSVhsv(60, 71%, 78%)
CMYKcmyk(0.5%, 0%, 71%, 21.6%)
CIE-LABlab(78.32, -16.93, 66.71)
CIE-LCHlch(78.32, 68.82, 104.24°)
OKLaboklab(80.73% -0.0534 0.1477)
OKLCHoklch(80.73% 0.157 109.9)
XYZxyz(44.9728, 53.7575, 12.0094)
Luminance0.5376 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C83A #3B3AC8
analogous
#C8823A #C7C83A #80C83A
triadic
#C7C83A #3AC7C8 #C83AC7
tetradic
#C7C83A #3AC882 #3B3AC8 #C83A80
square
#C7C83A #3AC882 #3B3AC8 #C83A80
split-complementary
#C7C83A #3A80C8 #823AC8
monochromatic
#696A1E #999A2B #C7C83A #D5D56A #E2E39A

Accessibility & contrast

On white

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

On black

11.75
#C7C83A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C83A
11.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C83A#FFFFFF#000000##000000
##C7C83A1.001.7911.7511.75
#FFFFFF1.791.0021.0021.00
#00000011.7521.001.001.00
##00000011.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BF20
Deuteranopia (green-blind)
#D9C445
Tritanopia (blue-blind)
#D5BBAC
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #c7c83a;
/* rgb */ color: rgb(199, 200, 58);
/* oklch */ color: oklch(80.7% 0.157 109.9);
Tailwind
colors: {
  custom: {
    50: '#dcd87a',
    500: '#c7c83a',
    950: '#000000',
  },
}
SCSS
$custom: #c7c83a;
$custom-light: #dcd87a;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c83a",
  "rgb": {
    "r": 199,
    "g": 200,
    "b": 58
  },
  "hsl": {
    "h": 60.423,
    "s": 56.349,
    "l": 50.588
  },
  "oklch": {
    "l": 0.80729,
    "c": 0.15707,
    "h": 109.9
  },
  "luminance": 0.53756
}

Semantic roles & 50–950 ramp

primary
#C7C83A
secondary
#333274
accent
#48E049
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C7C83A

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

Preview Lab → · Contrast checker → · Palette generator →

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