#C5C43F#C5C43F

#C5C43F is a light, vivid yellow. Relative luminance 0.517; OKLCH L 79.7% C 0.150 H 108.9°. Best body text is #000000 at 11.34:1 contrast (WCAG AA passes).

Color values

HEX#C5C43F
RGBrgb(197, 196, 63)
HSLhsl(60, 54%, 51%)
HSVhsv(60, 68%, 77%)
CMYKcmyk(0%, 0.5%, 68%, 22.7%)
CIE-LABlab(77.11, -15.52, 63.63)
CIE-LCHlch(77.11, 65.50, 103.71°)
OKLaboklab(79.73% -0.0488 0.1422)
OKLCHoklch(79.73% 0.15 108.9)
XYZxyz(43.6646, 51.7104, 12.3827)
Luminance0.5171 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C43F #3F40C5
analogous
#C5813F #C5C43F #83C53F
triadic
#C5C43F #3FC5C4 #C43FC5
tetradic
#C5C43F #3FC581 #3F40C5 #C53F83
square
#C5C43F #3FC581 #3F40C5 #C53F83
split-complementary
#C5C43F #3F83C5 #813FC5
monochromatic
#6A6920 #99982E #C5C43F #D3D26E #E1E19D

Accessibility & contrast

On white

1.85
#C5C43F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.34
#C5C43F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C43F
11.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C43F#FFFFFF#000000##000000
##C5C43F1.001.8511.3411.34
#FFFFFF1.851.0021.0021.00
#00000011.3421.001.001.00
##00000011.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BC2A
Deuteranopia (green-blind)
#D5C048
Tritanopia (blue-blind)
#D3B8AA
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c5c43f;
/* rgb */ color: rgb(197, 196, 63);
/* oklch */ color: oklch(79.7% 0.150 108.9);
Tailwind
colors: {
  custom: {
    50: '#dad57c',
    500: '#c5c43f',
    950: '#000000',
  },
}
SCSS
$custom: #c5c43f;
$custom-light: #dad57c;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c43f",
  "rgb": {
    "r": 197,
    "g": 196,
    "b": 63
  },
  "hsl": {
    "h": 59.552,
    "s": 53.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.79731,
    "c": 0.15031,
    "h": 108.9
  },
  "luminance": 0.51709
}

Semantic roles & 50–950 ramp

primary
#C5C43F
secondary
#353574
accent
#4CDD4B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C5C43F

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

Preview Lab → · Contrast checker → · Palette generator →

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