#C2CB3A#C2CB3A

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

Color values

HEX#C2CB3A
RGBrgb(194, 203, 58)
HSLhsl(64, 58%, 51%)
HSVhsv(64, 71%, 80%)
CMYKcmyk(4.4%, 0%, 71.4%, 20.4%)
CIE-LABlab(78.75, -20.52, 66.98)
CIE-LCHlch(78.75, 70.05, 107.03°)
OKLaboklab(80.97% -0.0631 0.1485)
OKLCHoklch(80.97% 0.161 113)
XYZxyz(44.3691, 54.4877, 12.1821)
Luminance0.5449 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CB3A #433ACB
analogous
#CB8B3A #C2CB3A #79CB3A
triadic
#C2CB3A #3AC2CB #CB3AC2
tetradic
#C2CB3A #3ACB8B #433ACB #CB3A79
square
#C2CB3A #3ACB8B #433ACB #CB3A79
split-complementary
#C2CB3A #3A79CB #8B3ACB
monochromatic
#696E1D #979E2A #C2CB3A #D1D86A #E0E59B

Accessibility & contrast

On white

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

On black

11.90
#C2CB3A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CB3A
11.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CB3A#FFFFFF#000000##000000
##C2CB3A1.001.7711.9011.90
#FFFFFF1.771.0021.0021.00
#00000011.9021.001.001.00
##00000011.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #c2cb3a;
/* rgb */ color: rgb(194, 203, 58);
/* oklch */ color: oklch(81.0% 0.161 113.0);
Tailwind
colors: {
  custom: {
    50: '#d8da7a',
    500: '#c2cb3a',
    950: '#000000',
  },
}
SCSS
$custom: #c2cb3a;
$custom-light: #d8da7a;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cb3a",
  "rgb": {
    "r": 194,
    "g": 203,
    "b": 58
  },
  "hsl": {
    "h": 63.724,
    "s": 58.233,
    "l": 51.176
  },
  "oklch": {
    "l": 0.80973,
    "c": 0.16132,
    "h": 113
  },
  "luminance": 0.54487
}

Semantic roles & 50–950 ramp

primary
#C2CB3A
secondary
#363277
accent
#46E150
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C2CB3A

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

Preview Lab → · Contrast checker → · Palette generator →

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