#C5C23F#C5C23F

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

Color values

HEX#C5C23F
RGBrgb(197, 194, 63)
HSLhsl(59, 54%, 51%)
HSVhsv(59, 68%, 77%)
CMYKcmyk(0%, 1.5%, 68%, 22.7%)
CIE-LABlab(76.57, -14.51, 63.09)
CIE-LCHlch(76.57, 64.74, 102.95°)
OKLaboklab(79.3% -0.046 0.141)
OKLCHoklch(79.3% 0.148 108.1)
XYZxyz(43.2165, 50.8141, 12.2333)
Luminance0.5081 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C23F #3F42C5
analogous
#C57F3F #C5C23F #85C53F
triadic
#C5C23F #3FC5C2 #C23FC5
tetradic
#C5C23F #3FC57F #3F42C5 #C53F85
square
#C5C23F #3FC57F #3F42C5 #C53F85
split-complementary
#C5C23F #3F85C5 #7F3FC5
monochromatic
#6A6820 #99962E #C5C23F #D3D16E #E1E09D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C5C23F#FFFFFF#000000##000000
##C5C23F1.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)
#D2BA2B
Deuteranopia (green-blind)
#D4BF48
Tritanopia (blue-blind)
#D3B6A8
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c5c23f;
/* rgb */ color: rgb(197, 194, 63);
/* oklch */ color: oklch(79.3% 0.148 108.1);
Tailwind
colors: {
  custom: {
    50: '#dad47c',
    500: '#c5c23f',
    950: '#000000',
  },
}
SCSS
$custom: #c5c23f;
$custom-light: #dad47c;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c23f",
  "rgb": {
    "r": 197,
    "g": 194,
    "b": 63
  },
  "hsl": {
    "h": 58.657,
    "s": 53.6,
    "l": 50.98
  },
  "oklch": {
    "l": 0.79299,
    "c": 0.14831,
    "h": 108.1
  },
  "luminance": 0.50813
}

Semantic roles & 50–950 ramp

primary
#C5C23F
secondary
#353674
accent
#4EDD4B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C5C23F

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

Preview Lab → · Contrast checker → · Palette generator →

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