#C2CB59#C2CB59

#C2CB59 is a light, vivid yellow. Relative luminance 0.549; OKLCH L 81.2% C 0.138 H 113.2°. Best body text is #000000 at 11.98:1 contrast (WCAG AA passes).

Color values

HEX#C2CB59
RGBrgb(194, 203, 89)
HSLhsl(65, 52%, 57%)
HSVhsv(65, 56%, 80%)
CMYKcmyk(4.4%, 0%, 56.2%, 20.4%)
CIE-LABlab(78.99, -18.55, 54.71)
CIE-LCHlch(78.99, 57.77, 108.73°)
OKLaboklab(81.24% -0.0545 0.127)
OKLCHoklch(81.24% 0.138 113.2)
XYZxyz(45.4082, 54.9033, 17.6546)
Luminance0.5490 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2CB59 #6259CB
analogous
#CB9B59 #C2CB59 #89CB59
triadic
#C2CB59 #59C2CB #CB59C2
tetradic
#C2CB59 #59CB9B #6259CB #CB5989
square
#C2CB59 #59CB9B #6259CB #CB5989
split-complementary
#C2CB59 #5989CB #9B59CB
monochromatic
#7A8128 #A6B037 #C2CB59 #D3DA88 #E4E8B6

Accessibility & contrast

On white

1.75
#C2CB59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.98
#C2CB59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2CB59
11.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2CB59#FFFFFF#000000##000000
##C2CB591.001.7511.9811.98
#FFFFFF1.751.0021.0021.00
#00000011.9821.001.001.00
##00000011.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C24D
Deuteranopia (green-blind)
#D8C560
Tritanopia (blue-blind)
#CDC0B2
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c2cb59;
/* rgb */ color: rgb(194, 203, 89);
/* oklch */ color: oklch(81.2% 0.138 113.2);
Tailwind
colors: {
  custom: {
    50: '#d7da8c',
    500: '#c2cb59',
    950: '#000000',
  },
}
SCSS
$custom: #c2cb59;
$custom-light: #d7da8c;
$custom-dark: #000000;
JSON
{
  "hex": "#c2cb59",
  "rgb": {
    "r": 194,
    "g": 203,
    "b": 89
  },
  "hsl": {
    "h": 64.737,
    "s": 52.294,
    "l": 57.255
  },
  "oklch": {
    "l": 0.81242,
    "c": 0.13818,
    "h": 113.2
  },
  "luminance": 0.54902
}

Semantic roles & 50–950 ramp

primary
#C2CB59
secondary
#453F89
accent
#4CDC57
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140C
muted
#84837F

Preview Lab

Preview with #C2CB59

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

Preview Lab → · Contrast checker → · Palette generator →

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