#C4C238#C4C238

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

Color values

HEX#C4C238
RGBrgb(196, 194, 56)
HSLhsl(59, 56%, 49%)
HSVhsv(59, 71%, 77%)
CMYKcmyk(0%, 1%, 71.4%, 23.1%)
CIE-LABlab(76.44, -15.29, 65.52)
CIE-LCHlch(76.44, 67.28, 103.14°)
OKLaboklab(79.16% -0.0488 0.145)
OKLCHoklch(79.16% 0.153 108.6)
XYZxyz(42.7721, 50.6062, 11.2555)
Luminance0.5060 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4C238 #383AC4
analogous
#C47C38 #C4C238 #80C438
triadic
#C4C238 #38C4C2 #C238C4
tetradic
#C4C238 #38C47C #383AC4 #C43880
square
#C4C238 #38C47C #383AC4 #C43880
split-complementary
#C4C238 #3880C4 #7C38C4
monochromatic
#65641D #94932A #C4C238 #D3D266 #E1E096

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##C4C238#FFFFFF#000000##000000
##C4C2381.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)
#D2BA1F
Deuteranopia (green-blind)
#D4BF42
Tritanopia (blue-blind)
#D2B5A7
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c4c238;
/* rgb */ color: rgb(196, 194, 56);
/* oklch */ color: oklch(79.2% 0.153 108.6);
Tailwind
colors: {
  custom: {
    50: '#d9d478',
    500: '#c4c238',
    950: '#000000',
  },
}
SCSS
$custom: #c4c238;
$custom-light: #d9d478;
$custom-dark: #000000;
JSON
{
  "hex": "#c4c238",
  "rgb": {
    "r": 196,
    "g": 194,
    "b": 56
  },
  "hsl": {
    "h": 59.143,
    "s": 55.556,
    "l": 49.412
  },
  "oklch": {
    "l": 0.79164,
    "c": 0.15295,
    "h": 108.6
  },
  "luminance": 0.50605
}

Semantic roles & 50–950 ramp

primary
#C4C238
secondary
#31326F
accent
#4BDF49
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C4C238

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

Preview Lab → · Contrast checker → · Palette generator →

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