#C4C231#C4C231

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

Color values

HEX#C4C231
RGBrgb(196, 194, 49)
HSLhsl(59, 60%, 48%)
HSVhsv(59, 75%, 77%)
CMYKcmyk(0%, 1%, 75%, 23.1%)
CIE-LABlab(76.40, -15.60, 67.84)
CIE-LCHlch(76.40, 69.61, 102.95°)
OKLaboklab(79.12% -0.0503 0.1486)
OKLCHoklch(79.12% 0.157 108.7)
XYZxyz(42.6127, 50.5425, 10.4161)
Luminance0.5054 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4C231 #3133C4
analogous
#C47931 #C4C231 #7CC431
triadic
#C4C231 #31C4C2 #C231C4
tetradic
#C4C231 #31C479 #3133C4 #C4317C
square
#C4C231 #31C479 #3133C4 #C4317C
split-complementary
#C4C231 #317CC4 #7931C4
monochromatic
#626119 #939225 #C4C231 #D6D55C #E2E18D

Accessibility & contrast

On white

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

On black

11.11
#C4C231 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4C231
11.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4C231#FFFFFF#000000##000000
##C4C2311.001.8911.1111.11
#FFFFFF1.891.0021.0021.00
#00000011.1121.001.001.00
##00000011.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA0E
Deuteranopia (green-blind)
#D4BF3D
Tritanopia (blue-blind)
#D2B5A7
Achromatopsia (no color)
#BCBCBC

Design tokens & code

CSS
--color: #c4c231;
/* rgb */ color: rgb(196, 194, 49);
/* oklch */ color: oklch(79.1% 0.157 108.7);
Tailwind
colors: {
  custom: {
    50: '#dad475',
    500: '#c4c231',
    950: '#000000',
  },
}
SCSS
$custom: #c4c231;
$custom-light: #dad475;
$custom-dark: #000000;
JSON
{
  "hex": "#c4c231",
  "rgb": {
    "r": 196,
    "g": 194,
    "b": 49
  },
  "hsl": {
    "h": 59.184,
    "s": 60,
    "l": 48.039
  },
  "oklch": {
    "l": 0.79121,
    "c": 0.15692,
    "h": 108.7
  },
  "luminance": 0.50541
}

Semantic roles & 50–950 ramp

primary
#C4C231
secondary
#2C2D6D
accent
#47E345
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C4C231

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

Preview Lab → · Contrast checker → · Palette generator →

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