#C2CB38#C2CB38

#C2CB38 is a light, vivid yellow. Relative luminance 0.545; OKLCH L 81.0% C 0.163 H 113.0°. Best body text is #000000 at 11.89:1 contrast (WCAG AA passes).

Color values

HEX#C2CB38
RGBrgb(194, 203, 56)
HSLhsl(64, 59%, 51%)
HSVhsv(64, 72%, 80%)
CMYKcmyk(4.4%, 0%, 72.4%, 20.4%)
CIE-LABlab(78.73, -20.61, 67.66)
CIE-LCHlch(78.73, 70.73, 106.94°)
OKLaboklab(80.96% -0.0635 0.1496)
OKLCHoklch(80.96% 0.163 113)
XYZxyz(44.3192, 54.4677, 11.9193)
Luminance0.5447 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CB38 #4138CB
analogous
#CB8A38 #C2CB38 #79CB38
triadic
#C2CB38 #38C2CB #CB38C2
tetradic
#C2CB38 #38CB8A #4138CB #CB3879
square
#C2CB38 #38CB8A #4138CB #CB3879
split-complementary
#C2CB38 #3879CB #8A38CB
monochromatic
#676C1C #969D29 #C2CB38 #D1D869 #E0E499

Accessibility & contrast

On white

1.77
#C2CB38 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.89
#C2CB38 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CB38
11.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CB38#FFFFFF#000000##000000
##C2CB381.001.7711.8911.89
#FFFFFF1.771.0021.0021.00
#00000011.8921.001.001.00
##00000011.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC11B
Deuteranopia (green-blind)
#DAC444
Tritanopia (blue-blind)
#CFBFAF
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c2cb38;
/* rgb */ color: rgb(194, 203, 56);
/* oklch */ color: oklch(81.0% 0.163 113.0);
Tailwind
colors: {
  custom: {
    50: '#d8da79',
    500: '#c2cb38',
    950: '#000000',
  },
}
SCSS
$custom: #c2cb38;
$custom-light: #d8da79;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cb38",
  "rgb": {
    "r": 194,
    "g": 203,
    "b": 56
  },
  "hsl": {
    "h": 63.673,
    "s": 58.566,
    "l": 50.784
  },
  "oklch": {
    "l": 0.8096,
    "c": 0.1625,
    "h": 113
  },
  "luminance": 0.54467
}

Semantic roles & 50–950 ramp

primary
#C2CB38
secondary
#363176
accent
#46E250
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C2CB38

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

Preview Lab → · Contrast checker → · Palette generator →

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