#C4CB38#C4CB38

#C4CB38 is a light, vivid yellow. Relative luminance 0.547; OKLCH L 81.1% C 0.162 H 112.2°. Best body text is #000000 at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#C4CB38
RGBrgb(196, 203, 56)
HSLhsl(63, 59%, 51%)
HSVhsv(63, 72%, 80%)
CMYKcmyk(3.4%, 0%, 72.4%, 20.4%)
CIE-LABlab(78.89, -19.78, 67.86)
CIE-LCHlch(78.89, 70.68, 106.25°)
OKLaboklab(81.12% -0.0613 0.1499)
OKLCHoklch(81.12% 0.162 112.2)
XYZxyz(44.8361, 54.7342, 11.9435)
Luminance0.5473 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C4CB38 #3F38CB
analogous
#CB8838 #C4CB38 #7ACB38
triadic
#C4CB38 #38C4CB #CB38C4
tetradic
#C4CB38 #38CB88 #3F38CB #CB387A
square
#C4CB38 #38CB88 #3F38CB #CB387A
split-complementary
#C4CB38 #387ACB #8838CB
monochromatic
#686C1C #979D29 #C4CB38 #D2D869 #E1E499

Accessibility & contrast

On white

1.76
#C4CB38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.95
#C4CB38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C4CB38
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C4CB38#FFFFFF#000000##000000
##C4CB381.001.7611.9511.95
#FFFFFF1.761.0021.0021.00
#00000011.9521.001.001.00
##00000011.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC21B
Deuteranopia (green-blind)
#DBC544
Tritanopia (blue-blind)
#D1BFAF
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c4cb38;
/* rgb */ color: rgb(196, 203, 56);
/* oklch */ color: oklch(81.1% 0.162 112.2);
Tailwind
colors: {
  custom: {
    50: '#d9da79',
    500: '#c4cb38',
    950: '#000000',
  },
}
SCSS
$custom: #c4cb38;
$custom-light: #d9da79;
$custom-dark: #000000;
JSON
{
  "hex": "#c4cb38",
  "rgb": {
    "r": 196,
    "g": 203,
    "b": 56
  },
  "hsl": {
    "h": 62.857,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.81121,
    "c": 0.16198,
    "h": 112.2
  },
  "luminance": 0.54733
}

Semantic roles & 50–950 ramp

primary
#C4CB38
secondary
#353176
accent
#46E24D
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C4CB38

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

Preview Lab → · Contrast checker → · Palette generator →

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