#C4C262#C4C262

#C4C262 is a light, moderate yellow. Relative luminance 0.512; OKLCH L 79.6% C 0.119 H 107.7°. Best body text is #000000 at 11.24:1 contrast (WCAG AA passes).

Color values

HEX#C4C262
RGBrgb(196, 194, 98)
HSLhsl(59, 45%, 58%)
HSVhsv(59, 50%, 77%)
CMYKcmyk(0%, 1%, 50%, 23.1%)
CIE-LABlab(76.80, -12.45, 48.04)
CIE-LCHlch(76.80, 49.62, 104.53°)
OKLaboklab(79.57% -0.0363 0.1135)
OKLCHoklch(79.57% 0.119 107.7)
XYZxyz(44.2624, 51.2023, 19.1043)
Luminance0.5120 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4C262 #6264C4
analogous
#C49162 #C4C262 #95C462
triadic
#C4C262 #62C4C2 #C262C4
tetradic
#C4C262 #62C491 #6264C4 #C46295
square
#C4C262 #62C491 #6264C4 #C46295
split-complementary
#C4C262 #6295C4 #9162C4
monochromatic
#7D7B2F #A9A740 #C4C262 #D5D38E #E5E5BB

Accessibility & contrast

On white

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

On black

11.24
#C4C262 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4C262
11.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4C262#FFFFFF#000000##000000
##C4C2621.001.8711.2411.24
#FFFFFF1.871.0021.0021.00
#00000011.2421.001.001.00
##00000011.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBB59
Deuteranopia (green-blind)
#D1BF67
Tritanopia (blue-blind)
#D0B8AC
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #c4c262;
/* rgb */ color: rgb(196, 194, 98);
/* oklch */ color: oklch(79.6% 0.119 107.7);
Tailwind
colors: {
  custom: {
    50: '#d8d491',
    500: '#c4c262',
    950: '#000000',
  },
}
SCSS
$custom: #c4c262;
$custom-light: #d8d491;
$custom-dark: #000000;
JSON
{
  "hex": "#c4c262",
  "rgb": {
    "r": 196,
    "g": 194,
    "b": 98
  },
  "hsl": {
    "h": 58.776,
    "s": 45.37,
    "l": 57.647
  },
  "oklch": {
    "l": 0.79569,
    "c": 0.11914,
    "h": 107.7
  },
  "luminance": 0.51201
}

Semantic roles & 50–950 ramp

primary
#C4C262
secondary
#454685
accent
#55D553
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #C4C262

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

Preview Lab → · Contrast checker → · Palette generator →

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