#C4C348#C4C348

#C4C348 is a light, vivid yellow. Relative luminance 0.512; OKLCH L 79.5% C 0.143 H 108.8°. Best body text is #000000 at 11.25:1 contrast (WCAG AA passes).

Color values

HEX#C4C348
RGBrgb(196, 195, 72)
HSLhsl(60, 51%, 53%)
HSVhsv(60, 63%, 77%)
CMYKcmyk(0%, 0.5%, 63.3%, 23.1%)
CIE-LABlab(76.82, -14.92, 59.74)
CIE-LCHlch(76.82, 61.58, 104.02°)
OKLaboklab(79.5% -0.0461 0.1354)
OKLCHoklch(79.5% 0.143 108.8)
XYZxyz(43.4512, 51.2351, 13.7301)
Luminance0.5123 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4C348 #4849C4
analogous
#C48548 #C4C348 #87C448
triadic
#C4C348 #48C4C3 #C348C4
tetradic
#C4C348 #48C485 #4849C4 #C44887
square
#C4C348 #48C485 #4849C4 #C44887
split-complementary
#C4C348 #4887C4 #8548C4
monochromatic
#6E6E23 #9C9C32 #C4C348 #D3D276 #E2E1A5

Accessibility & contrast

On white

1.87
#C4C348 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.25
#C4C348 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4C348
11.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4C348#FFFFFF#000000##000000
##C4C3481.001.8711.2511.25
#FFFFFF1.871.0021.0021.00
#00000011.2521.001.001.00
##00000011.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB38
Deuteranopia (green-blind)
#D4C050
Tritanopia (blue-blind)
#D1B7AA
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c4c348;
/* rgb */ color: rgb(196, 195, 72);
/* oklch */ color: oklch(79.5% 0.143 108.8);
Tailwind
colors: {
  custom: {
    50: '#d9d481',
    500: '#c4c348',
    950: '#000000',
  },
}
SCSS
$custom: #c4c348;
$custom-light: #d9d481;
$custom-dark: #000000;
JSON
{
  "hex": "#c4c348",
  "rgb": {
    "r": 196,
    "g": 195,
    "b": 72
  },
  "hsl": {
    "h": 59.516,
    "s": 51.24,
    "l": 52.549
  },
  "oklch": {
    "l": 0.79504,
    "c": 0.14305,
    "h": 108.8
  },
  "luminance": 0.51234
}

Semantic roles & 50–950 ramp

primary
#C4C348
secondary
#393978
accent
#4EDB4D
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C4C348

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

Preview Lab → · Contrast checker → · Palette generator →

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