#C7CA3F#C7CA3F

#C7CA3F is a light, vivid yellow. Relative luminance 0.547; OKLCH L 81.2% C 0.156 H 110.6°. Best body text is #000000 at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#C7CA3F
RGBrgb(199, 202, 63)
HSLhsl(61, 57%, 52%)
HSVhsv(61, 69%, 79%)
CMYKcmyk(1.5%, 0%, 68.8%, 20.8%)
CIE-LABlab(78.89, -17.68, 65.46)
CIE-LCHlch(78.89, 67.81, 105.11°)
OKLaboklab(81.2% -0.055 0.146)
OKLCHoklch(81.2% 0.156 110.6)
XYZxyz(45.5724, 54.7433, 12.8675)
Luminance0.5474 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CA3F #423FCA
analogous
#CA883F #C7CA3F #82CA3F
triadic
#C7CA3F #3FC7CA #CA3FC7
tetradic
#C7CA3F #3FCA88 #423FCA #CA3F82
square
#C7CA3F #3FCA88 #423FCA #CA3F82
split-complementary
#C7CA3F #3F82CA #883FCA
monochromatic
#6E701F #9DA02C #C7CA3F #D5D76F #E3E49F

Accessibility & contrast

On white

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

On black

11.95
#C7CA3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CA3F
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CA3F#FFFFFF#000000##000000
##C7CA3F1.001.7611.9511.95
#FFFFFF1.761.0021.0021.00
#00000011.9521.001.001.00
##00000011.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DAC128
Deuteranopia (green-blind)
#DBC549
Tritanopia (blue-blind)
#D5BEAF
Achromatopsia (no color)
#C3C3C3

Design tokens & code

CSS
--color: #c7ca3f;
/* rgb */ color: rgb(199, 202, 63);
/* oklch */ color: oklch(81.2% 0.156 110.6);
Tailwind
colors: {
  custom: {
    50: '#dbd97d',
    500: '#c7ca3f',
    950: '#000000',
  },
}
SCSS
$custom: #c7ca3f;
$custom-light: #dbd97d;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ca3f",
  "rgb": {
    "r": 199,
    "g": 202,
    "b": 63
  },
  "hsl": {
    "h": 61.295,
    "s": 56.735,
    "l": 51.961
  },
  "oklch": {
    "l": 0.81197,
    "c": 0.15596,
    "h": 110.6
  },
  "luminance": 0.54742
}

Semantic roles & 50–950 ramp

primary
#C7CA3F
secondary
#363479
accent
#48E04B
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140A
muted
#84837D

Preview Lab

Preview with #C7CA3F

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

Preview Lab → · Contrast checker → · Palette generator →

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