#C7C14B#C7C14B

#C7C14B is a light, vivid yellow. Relative luminance 0.508; OKLCH L 79.4% C 0.138 H 106.4°. Best body text is #000000 at 11.16:1 contrast (WCAG AA passes).

Color values

HEX#C7C14B
RGBrgb(199, 193, 75)
HSLhsl(57, 53%, 54%)
HSVhsv(57, 62%, 78%)
CMYKcmyk(0%, 3%, 62.3%, 22%)
CIE-LABlab(76.55, -12.45, 58.28)
CIE-LCHlch(76.55, 59.59, 102.06°)
OKLaboklab(79.36% -0.039 0.1327)
OKLCHoklch(79.36% 0.138 106.4)
XYZxyz(43.8947, 50.7915, 14.1468)
Luminance0.5079 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C14B #4B51C7
analogous
#C7834B #C7C14B #8FC74B
triadic
#C7C14B #4BC7C1 #C14BC7
tetradic
#C7C14B #4BC783 #4B51C7 #C74B8F
square
#C7C14B #4BC783 #4B51C7 #C74B8F
split-complementary
#C7C14B #4B8FC7 #834BC7
monochromatic
#747024 #A29D32 #C7C14B #D6D17A #E4E1A8

Accessibility & contrast

On white

1.88
#C7C14B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.16
#C7C14B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C14B
11.16:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C14B#FFFFFF#000000##000000
##C7C14B1.001.8811.1611.16
#FFFFFF1.881.0021.0021.00
#00000011.1621.001.001.00
##00000011.1621.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BA3D
Deuteranopia (green-blind)
#D3BF52
Tritanopia (blue-blind)
#D5B5A8
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c7c14b;
/* rgb */ color: rgb(199, 193, 75);
/* oklch */ color: oklch(79.4% 0.138 106.4);
Tailwind
colors: {
  custom: {
    50: '#dbd383',
    500: '#c7c14b',
    950: '#000000',
  },
}
SCSS
$custom: #c7c14b;
$custom-light: #dbd383;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c14b",
  "rgb": {
    "r": 199,
    "g": 193,
    "b": 75
  },
  "hsl": {
    "h": 57.097,
    "s": 52.542,
    "l": 53.725
  },
  "oklch": {
    "l": 0.79357,
    "c": 0.13828,
    "h": 106.4
  },
  "luminance": 0.5079
}

Semantic roles & 50–950 ramp

primary
#C7C14B
secondary
#3A3D7D
accent
#53DC4C
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C7C14B

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

Preview Lab → · Contrast checker → · Palette generator →

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