#C5C143#C5C143

#C5C143 is a light, vivid yellow. Relative luminance 0.504; OKLCH L 79.1% C 0.145 H 107.5°. Best body text is #000000 at 11.08:1 contrast (WCAG AA passes).

Color values

HEX#C5C143
RGBrgb(197, 193, 67)
HSLhsl(58, 53%, 52%)
HSVhsv(58, 66%, 77%)
CMYKcmyk(0%, 2%, 66%, 22.7%)
CIE-LABlab(76.32, -13.78, 61.28)
CIE-LCHlch(76.32, 62.81, 102.68°)
OKLaboklab(79.12% -0.0435 0.1379)
OKLCHoklch(79.12% 0.145 107.5)
XYZxyz(43.1106, 50.4169, 12.7696)
Luminance0.5041 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C143 #4347C5
analogous
#C58043 #C5C143 #88C543
triadic
#C5C143 #43C5C1 #C143C5
tetradic
#C5C143 #43C580 #4347C5 #C54388
square
#C5C143 #43C580 #4347C5 #C54388
split-complementary
#C5C143 #4388C5 #8043C5
monochromatic
#6C6A21 #9B9830 #C5C143 #D3D072 #E2E0A1

Accessibility & contrast

On white

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

On black

11.08
#C5C143 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C143
11.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C143#FFFFFF#000000##000000
##C5C1431.001.8911.0811.08
#FFFFFF1.891.0021.0021.00
#00000011.0821.001.001.00
##00000011.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D1BA31
Deuteranopia (green-blind)
#D3BE4B
Tritanopia (blue-blind)
#D3B5A7
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c5c143;
/* rgb */ color: rgb(197, 193, 67);
/* oklch */ color: oklch(79.1% 0.145 107.5);
Tailwind
colors: {
  custom: {
    50: '#dad37e',
    500: '#c5c143',
    950: '#000000',
  },
}
SCSS
$custom: #c5c143;
$custom-light: #dad37e;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c143",
  "rgb": {
    "r": 197,
    "g": 193,
    "b": 67
  },
  "hsl": {
    "h": 58.154,
    "s": 52.846,
    "l": 51.765
  },
  "oklch": {
    "l": 0.79116,
    "c": 0.14456,
    "h": 107.5
  },
  "luminance": 0.50415
}

Semantic roles & 50–950 ramp

primary
#C5C143
secondary
#363876
accent
#50DC4C
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C5C143

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

Preview Lab → · Contrast checker → · Palette generator →

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