#C5C239#C5C239

#C5C239 is a light, vivid yellow. Relative luminance 0.507; OKLCH L 79.3% C 0.152 H 108.2°. Best body text is #000000 at 11.15:1 contrast (WCAG AA passes).

Color values

HEX#C5C239
RGBrgb(197, 194, 57)
HSLhsl(59, 55%, 50%)
HSVhsv(59, 71%, 77%)
CMYKcmyk(0%, 1.5%, 71.1%, 22.7%)
CIE-LABlab(76.53, -14.82, 65.27)
CIE-LCHlch(76.53, 66.93, 102.79°)
OKLaboklab(79.26% -0.0474 0.1446)
OKLCHoklch(79.26% 0.152 108.2)
XYZxyz(43.0579, 50.7507, 11.3978)
Luminance0.5075 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C239 #393CC5
analogous
#C57C39 #C5C239 #82C539
triadic
#C5C239 #39C5C2 #C239C5
tetradic
#C5C239 #39C57C #393CC5 #C53982
square
#C5C239 #39C57C #393CC5 #C53982
split-complementary
#C5C239 #3982C5 #7C39C5
monochromatic
#66651E #96932B #C5C239 #D3D168 #E1DF97

Accessibility & contrast

On white

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

On black

11.15
#C5C239 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C239
11.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C239#FFFFFF#000000##000000
##C5C2391.001.8811.1511.15
#FFFFFF1.881.0021.0021.00
#00000011.1521.001.001.00
##00000011.1521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA21
Deuteranopia (green-blind)
#D4BF43
Tritanopia (blue-blind)
#D3B5A7
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c5c239;
/* rgb */ color: rgb(197, 194, 57);
/* oklch */ color: oklch(79.3% 0.152 108.2);
Tailwind
colors: {
  custom: {
    50: '#dad479',
    500: '#c5c239',
    950: '#000000',
  },
}
SCSS
$custom: #c5c239;
$custom-light: #dad479;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c239",
  "rgb": {
    "r": 197,
    "g": 194,
    "b": 57
  },
  "hsl": {
    "h": 58.714,
    "s": 55.118,
    "l": 49.804
  },
  "oklch": {
    "l": 0.79256,
    "c": 0.15217,
    "h": 108.2
  },
  "luminance": 0.50749
}

Semantic roles & 50–950 ramp

primary
#C5C239
secondary
#323370
accent
#4DDE49
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#15140A
muted
#84837D

Preview Lab

Preview with #C5C239

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

Preview Lab → · Contrast checker → · Palette generator →

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