#C5C234#C5C234

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

Color values

HEX#C5C234
RGBrgb(197, 194, 52)
HSLhsl(59, 58%, 49%)
HSVhsv(59, 74%, 77%)
CMYKcmyk(0%, 1.5%, 73.6%, 22.7%)
CIE-LABlab(76.50, -15.05, 66.98)
CIE-LCHlch(76.50, 68.65, 102.66°)
OKLaboklab(79.22% -0.0485 0.1473)
OKLCHoklch(79.22% 0.155 108.2)
XYZxyz(42.9392, 50.7032, 10.7730)
Luminance0.5070 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C5C234 #3437C5
analogous
#C57A34 #C5C234 #80C534
triadic
#C5C234 #34C5C2 #C234C5
tetradic
#C5C234 #34C57A #3437C5 #C53480
square
#C5C234 #34C57A #3437C5 #C53480
split-complementary
#C5C234 #3480C5 #7A34C5
monochromatic
#64631A #959227 #C5C234 #D5D361 #E2E091

Accessibility & contrast

On white

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

On black

11.14
#C5C234 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C5C234
11.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C5C234#FFFFFF#000000##000000
##C5C2341.001.8911.1411.14
#FFFFFF1.891.0021.0021.00
#00000011.1421.001.001.00
##00000011.1421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c5c234;
/* rgb */ color: rgb(197, 194, 52);
/* oklch */ color: oklch(79.2% 0.155 108.2);
Tailwind
colors: {
  custom: {
    50: '#dad476',
    500: '#c5c234',
    950: '#000000',
  },
}
SCSS
$custom: #c5c234;
$custom-light: #dad476;
$custom-dark: #000000;
JSON
{
  "hex": "#c5c234",
  "rgb": {
    "r": 197,
    "g": 194,
    "b": 52
  },
  "hsl": {
    "h": 58.759,
    "s": 58.233,
    "l": 48.824
  },
  "oklch": {
    "l": 0.79224,
    "c": 0.1551,
    "h": 108.2
  },
  "luminance": 0.50702
}

Semantic roles & 50–950 ramp

primary
#C5C234
secondary
#2F306F
accent
#4AE146
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C5C234

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

Preview Lab → · Contrast checker → · Palette generator →

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