#C4C229#C4C229

#C4C229 is a light, vivid yellow. Relative luminance 0.505; OKLCH L 79.1% C 0.161 H 108.8°. Best body text is #000000 at 11.10:1 contrast (WCAG AA passes).

Color values

HEX#C4C229
RGBrgb(196, 194, 41)
HSLhsl(59, 65%, 46%)
HSVhsv(59, 79%, 77%)
CMYKcmyk(0%, 1%, 79.1%, 23.1%)
CIE-LABlab(76.36, -15.90, 70.22)
CIE-LCHlch(76.36, 71.99, 102.76°)
OKLaboklab(79.08% -0.0518 0.1523)
OKLCHoklch(79.08% 0.161 108.8)
XYZxyz(42.4587, 50.4808, 9.6046)
Luminance0.5048 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4C229 #292BC4
analogous
#C47529 #C4C229 #79C429
triadic
#C4C229 #29C4C2 #C229C4
tetradic
#C4C229 #29C475 #292BC4 #C42979
square
#C4C229 #29C475 #292BC4 #C42979
split-complementary
#C4C229 #2979C4 #7529C4
monochromatic
#5F5E14 #91901E #C4C229 #DAD950 #E5E482

Accessibility & contrast

On white

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

On black

11.10
#C4C229 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4C229
11.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4C229#FFFFFF#000000##000000
##C4C2291.001.8911.1011.10
#FFFFFF1.891.0021.0021.00
#00000011.1021.001.001.00
##00000011.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA00
Deuteranopia (green-blind)
#D5BF37
Tritanopia (blue-blind)
#D2B5A6
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c4c229;
/* rgb */ color: rgb(196, 194, 41);
/* oklch */ color: oklch(79.1% 0.161 108.8);
Tailwind
colors: {
  custom: {
    50: '#dad471',
    500: '#c4c229',
    950: '#000000',
  },
}
SCSS
$custom: #c4c229;
$custom-light: #dad471;
$custom-dark: #000000;
JSON
{
  "hex": "#c4c229",
  "rgb": {
    "r": 196,
    "g": 194,
    "b": 41
  },
  "hsl": {
    "h": 59.226,
    "s": 65.401,
    "l": 46.471
  },
  "oklch": {
    "l": 0.79079,
    "c": 0.16081,
    "h": 108.8
  },
  "luminance": 0.50479
}

Semantic roles & 50–950 ramp

primary
#C4C229
secondary
#27286A
accent
#42E83F
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C4C229

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

Preview Lab → · Contrast checker → · Palette generator →

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