#C5C738#C5C738

#C5C738 is a light, vivid yellow. Relative luminance 0.530; OKLCH L 80.3% C 0.158 H 110.3°. Best body text is #000000 at 11.60:1 contrast (WCAG AA passes).

Color values

HEX#C5C738
RGBrgb(197, 199, 56)
HSLhsl(61, 56%, 50%)
HSVhsv(61, 72%, 78%)
CMYKcmyk(1%, 0%, 71.9%, 22%)
CIE-LABlab(77.88, -17.37, 66.92)
CIE-LCHlch(77.88, 69.14, 104.55°)
OKLaboklab(80.33% -0.0547 0.1479)
OKLCHoklch(80.33% 0.158 110.3)
XYZxyz(44.1647, 53.0039, 11.6449)
Luminance0.5300 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C738 #3A38C7
analogous
#C78138 #C5C738 #7EC738
triadic
#C5C738 #38C5C7 #C738C5
tetradic
#C5C738 #38C781 #3A38C7 #C7387E
square
#C5C738 #38C781 #3A38C7 #C7387E
split-complementary
#C5C738 #387EC7 #8138C7
monochromatic
#66671D #96972B #C5C738 #D3D468 #E1E298

Accessibility & contrast

On white

1.81
#C5C738 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.60
#C5C738 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C738
11.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C738#FFFFFF#000000##000000
##C5C7381.001.8111.6011.60
#FFFFFF1.811.0021.0021.00
#00000011.6021.001.001.00
##00000011.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE1D
Deuteranopia (green-blind)
#D8C243
Tritanopia (blue-blind)
#D3BAAB
Achromatopsia (no color)
#C0C0C0

Design tokens & code

CSS
--color: #c5c738;
/* rgb */ color: rgb(197, 199, 56);
/* oklch */ color: oklch(80.3% 0.158 110.3);
Tailwind
colors: {
  custom: {
    50: '#dad779',
    500: '#c5c738',
    950: '#000000',
  },
}
SCSS
$custom: #c5c738;
$custom-light: #dad779;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c738",
  "rgb": {
    "r": 197,
    "g": 199,
    "b": 56
  },
  "hsl": {
    "h": 60.839,
    "s": 56.078,
    "l": 50
  },
  "oklch": {
    "l": 0.80332,
    "c": 0.15768,
    "h": 110.3
  },
  "luminance": 0.53003
}

Semantic roles & 50–950 ramp

primary
#C5C738
secondary
#323272
accent
#48DF4B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C5C738

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

Preview Lab → · Contrast checker → · Palette generator →

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