#C4C239#C4C239

#C4C239 is a light, vivid yellow. Relative luminance 0.506; OKLCH L 79.2% C 0.152 H 108.6°. Best body text is #000000 at 11.12:1 contrast (WCAG AA passes).

Color values

HEX#C4C239
RGBrgb(196, 194, 57)
HSLhsl(59, 55%, 50%)
HSVhsv(59, 71%, 77%)
CMYKcmyk(0%, 1%, 70.9%, 23.1%)
CIE-LABlab(76.45, -15.24, 65.17)
CIE-LCHlch(76.45, 66.92, 103.16°)
OKLaboklab(79.17% -0.0486 0.1444)
OKLCHoklch(79.17% 0.152 108.6)
XYZxyz(42.7968, 50.6161, 11.3856)
Luminance0.5061 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4C239 #393BC4
analogous
#C47D39 #C4C239 #80C439
triadic
#C4C239 #39C4C2 #C239C4
tetradic
#C4C239 #39C47D #393BC4 #C43980
square
#C4C239 #39C47D #393BC4 #C43980
split-complementary
#C4C239 #3980C4 #7D39C4
monochromatic
#65641D #95932B #C4C239 #D3D167 #E1E097

Accessibility & contrast

On white

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

On black

11.12
#C4C239 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4C239
11.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4C239#FFFFFF#000000##000000
##C4C2391.001.8911.1211.12
#FFFFFF1.891.0021.0021.00
#00000011.1221.001.001.00
##00000011.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BA21
Deuteranopia (green-blind)
#D4BF43
Tritanopia (blue-blind)
#D2B5A7
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c4c239;
/* rgb */ color: rgb(196, 194, 57);
/* oklch */ color: oklch(79.2% 0.152 108.6);
Tailwind
colors: {
  custom: {
    50: '#d9d479',
    500: '#c4c239',
    950: '#000000',
  },
}
SCSS
$custom: #c4c239;
$custom-light: #d9d479;
$custom-dark: #000000;
JSON
{
  "hex": "#c4c239",
  "rgb": {
    "r": 196,
    "g": 194,
    "b": 57
  },
  "hsl": {
    "h": 59.137,
    "s": 54.941,
    "l": 49.608
  },
  "oklch": {
    "l": 0.79171,
    "c": 0.15235,
    "h": 108.6
  },
  "luminance": 0.50615
}

Semantic roles & 50–950 ramp

primary
#C4C239
secondary
#323270
accent
#4CDE4A
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#15140A
muted
#84837D

Preview Lab

Preview with #C4C239

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

Preview Lab → · Contrast checker → · Palette generator →

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