#C5C146#C5C146

#C5C146 is a light, vivid yellow. Relative luminance 0.505; OKLCH L 79.1% C 0.142 H 107.4°. Best body text is #000000 at 11.09:1 contrast (WCAG AA passes).

Color values

HEX#C5C146
RGBrgb(197, 193, 70)
HSLhsl(58, 52%, 52%)
HSVhsv(58, 64%, 77%)
CMYKcmyk(0%, 2%, 64.5%, 22.7%)
CIE-LABlab(76.35, -13.61, 60.09)
CIE-LCHlch(76.35, 61.62, 102.76°)
OKLaboklab(79.14% -0.0427 0.1358)
OKLCHoklch(79.14% 0.142 107.4)
XYZxyz(43.2029, 50.4538, 13.2560)
Luminance0.5045 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C146 #464AC5
analogous
#C58146 #C5C146 #8AC546
triadic
#C5C146 #46C5C1 #C146C5
tetradic
#C5C146 #46C581 #464AC5 #C5468A
square
#C5C146 #46C581 #464AC5 #C5468A
split-complementary
#C5C146 #468AC5 #8146C5
monochromatic
#6E6C23 #9D9931 #C5C146 #D4D175 #E2E0A3

Accessibility & contrast

On white

1.89
#C5C146 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.09
#C5C146 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C146
11.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C146#FFFFFF#000000##000000
##C5C1461.001.8911.0911.09
#FFFFFF1.891.0021.0021.00
#00000011.0921.001.001.00
##00000011.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D0BA36
Deuteranopia (green-blind)
#D3BE4E
Tritanopia (blue-blind)
#D3B5A8
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c5c146;
/* rgb */ color: rgb(197, 193, 70);
/* oklch */ color: oklch(79.1% 0.142 107.4);
Tailwind
colors: {
  custom: {
    50: '#dad380',
    500: '#c5c146',
    950: '#000000',
  },
}
SCSS
$custom: #c5c146;
$custom-light: #dad380;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c146",
  "rgb": {
    "r": 197,
    "g": 193,
    "b": 70
  },
  "hsl": {
    "h": 58.11,
    "s": 52.263,
    "l": 52.353
  },
  "oklch": {
    "l": 0.79141,
    "c": 0.14237,
    "h": 107.4
  },
  "luminance": 0.50452
}

Semantic roles & 50–950 ramp

primary
#C5C146
secondary
#383A78
accent
#51DC4C
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C5C146

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

Preview Lab → · Contrast checker → · Palette generator →

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