#C2C84F#C2C84F

#C2C84F is a light, vivid yellow. Relative luminance 0.533; OKLCH L 80.5% C 0.143 H 111.9°. Best body text is #000000 at 11.67:1 contrast (WCAG AA passes).

Color values

HEX#C2C84F
RGBrgb(194, 200, 79)
HSLhsl(63, 52%, 55%)
HSVhsv(63, 61%, 78%)
CMYKcmyk(3%, 0%, 60.5%, 21.6%)
CIE-LABlab(78.08, -17.80, 58.09)
CIE-LCHlch(78.08, 60.76, 107.03°)
OKLaboklab(80.49% -0.0534 0.133)
OKLCHoklch(80.49% 0.143 111.9)
XYZxyz(44.3149, 53.3434, 15.3575)
Luminance0.5334 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C2C84F #554FC8
analogous
#C8914F #C2C84F #86C84F
triadic
#C2C84F #4FC2C8 #C84FC2
tetradic
#C2C84F #4FC891 #554FC8 #C84F86
square
#C2C84F #4FC891 #554FC8 #C84F86
split-complementary
#C2C84F #4F86C8 #914FC8
monochromatic
#737725 #A0A634 #C2C84F #D2D77E #E2E5AC

Accessibility & contrast

On white

1.80
#C2C84F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.67
#C2C84F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C2C84F
11.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C2C84F#FFFFFF#000000##000000
##C2C84F1.001.8011.6711.67
#FFFFFF1.801.0021.0021.00
#00000011.6721.001.001.00
##00000011.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6BF41
Deuteranopia (green-blind)
#D7C356
Tritanopia (blue-blind)
#CEBDAE
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c2c84f;
/* rgb */ color: rgb(194, 200, 79);
/* oklch */ color: oklch(80.5% 0.143 111.9);
Tailwind
colors: {
  custom: {
    50: '#d7d885',
    500: '#c2c84f',
    950: '#000000',
  },
}
SCSS
$custom: #c2c84f;
$custom-light: #d7d885;
$custom-dark: #000000;
JSON
{
  "hex": "#c2c84f",
  "rgb": {
    "r": 194,
    "g": 200,
    "b": 79
  },
  "hsl": {
    "h": 62.975,
    "s": 52.381,
    "l": 54.706
  },
  "oklch": {
    "l": 0.80487,
    "c": 0.14328,
    "h": 111.9
  },
  "luminance": 0.53342
}

Semantic roles & 50–950 ramp

primary
#C2C84F
secondary
#3F3B80
accent
#4CDC53
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C2C84F

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

Preview Lab → · Contrast checker → · Palette generator →

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