#C4C045#C4C045

#C4C045 is a light, vivid yellow. Relative luminance 0.499; OKLCH L 78.8% C 0.142 H 107.5°. Best body text is #000000 at 10.97:1 contrast (WCAG AA passes).

Color values

HEX#C4C045
RGBrgb(196, 192, 69)
HSLhsl(58, 52%, 52%)
HSVhsv(58, 65%, 77%)
CMYKcmyk(0%, 2%, 64.8%, 23.1%)
CIE-LABlab(75.99, -13.58, 60.10)
CIE-LCHlch(75.99, 61.62, 102.73°)
OKLaboklab(78.83% -0.0427 0.1357)
OKLCHoklch(78.83% 0.142 107.5)
XYZxyz(42.6902, 49.8661, 13.0054)
Luminance0.4986 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4C045 #4549C4
analogous
#C48145 #C4C045 #89C445
triadic
#C4C045 #45C4C0 #C045C4
tetradic
#C4C045 #45C481 #4549C4 #C44589
square
#C4C045 #45C481 #4549C4 #C44589
split-complementary
#C4C045 #4589C4 #8145C4
monochromatic
#6C6A22 #9B9731 #C4C045 #D3D073 #E1DFA2

Accessibility & contrast

On white

1.91
#C4C045 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.97
#C4C045 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4C045
10.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4C045#FFFFFF#000000##000000
##C4C0451.001.9110.9710.97
#FFFFFF1.911.0021.0021.00
#00000010.9721.001.001.00
##00000010.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFB935
Deuteranopia (green-blind)
#D2BE4D
Tritanopia (blue-blind)
#D2B4A7
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #c4c045;
/* rgb */ color: rgb(196, 192, 69);
/* oklch */ color: oklch(78.8% 0.142 107.5);
Tailwind
colors: {
  custom: {
    50: '#d9d27f',
    500: '#c4c045',
    950: '#000000',
  },
}
SCSS
$custom: #c4c045;
$custom-light: #d9d27f;
$custom-dark: #000000;
JSON
{
  "hex": "#c4c045",
  "rgb": {
    "r": 196,
    "g": 192,
    "b": 69
  },
  "hsl": {
    "h": 58.11,
    "s": 51.837,
    "l": 51.961
  },
  "oklch": {
    "l": 0.78831,
    "c": 0.14226,
    "h": 107.5
  },
  "luminance": 0.49865
}

Semantic roles & 50–950 ramp

primary
#C4C045
secondary
#9798CE
accent
#51DB4D
background
#FDFCF8
surface
#FBF9EF
border
#D4D2CA
text
#15140A
muted
#83827C

Preview Lab

Preview with #C4C045

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

Preview Lab → · Contrast checker → · Palette generator →

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