#C7CA2F#C7CA2F

#C7CA2F is a light, vivid yellow. Relative luminance 0.546; OKLCH L 81.1% C 0.165 H 110.7°. Best body text is #000000 at 11.92:1 contrast (WCAG AA passes).

Color values

HEX#C7CA2F
RGBrgb(199, 202, 47)
HSLhsl(61, 62%, 49%)
HSVhsv(61, 77%, 79%)
CMYKcmyk(1.5%, 0%, 76.7%, 20.8%)
CIE-LABlab(78.80, -18.40, 70.75)
CIE-LCHlch(78.80, 73.10, 104.58°)
OKLaboklab(81.1% -0.0584 0.1543)
OKLCHoklch(81.1% 0.165 110.7)
XYZxyz(45.1884, 54.5897, 10.8452)
Luminance0.5459 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CA2F #322FCA
analogous
#CA802F #C7CA2F #7ACA2F
triadic
#C7CA2F #2FC7CA #CA2FC7
tetradic
#C7CA2F #2FCA80 #322FCA #CA2F7A
square
#C7CA2F #2FCA80 #322FCA #CA2F7A
split-complementary
#C7CA2F #2F7ACA #802FCA
monochromatic
#656718 #969823 #C7CA2F #D7D95D #E3E58F

Accessibility & contrast

On white

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

On black

11.92
#C7CA2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CA2F
11.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CA2F#FFFFFF#000000##000000
##C7CA2F1.001.7611.9211.92
#FFFFFF1.761.0021.0021.00
#00000011.9221.001.001.00
##00000011.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC100
Deuteranopia (green-blind)
#DBC53D
Tritanopia (blue-blind)
#D5BDAD
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c7ca2f;
/* rgb */ color: rgb(199, 202, 47);
/* oklch */ color: oklch(81.1% 0.165 110.7);
Tailwind
colors: {
  custom: {
    50: '#dcd975',
    500: '#c7ca2f',
    950: '#000000',
  },
}
SCSS
$custom: #c7ca2f;
$custom-light: #dcd975;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ca2f",
  "rgb": {
    "r": 199,
    "g": 202,
    "b": 47
  },
  "hsl": {
    "h": 61.161,
    "s": 62.249,
    "l": 48.824
  },
  "oklch": {
    "l": 0.81097,
    "c": 0.16503,
    "h": 110.7
  },
  "luminance": 0.54588
}

Semantic roles & 50–950 ramp

primary
#C7CA2F
secondary
#2E2C71
accent
#42E546
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #C7CA2F

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

Preview Lab → · Contrast checker → · Palette generator →

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