#C7CA4F#C7CA4F

#C7CA4F is a light, vivid yellow. Relative luminance 0.549; OKLCH L 81.3% C 0.144 H 110.5°. Best body text is #000000 at 11.99:1 contrast (WCAG AA passes).

Color values

HEX#C7CA4F
RGBrgb(199, 202, 79)
HSLhsl(61, 54%, 55%)
HSVhsv(61, 61%, 79%)
CMYKcmyk(1.5%, 0%, 60.9%, 20.8%)
CIE-LABlab(79.01, -16.72, 59.22)
CIE-LCHlch(79.01, 61.53, 105.77°)
OKLaboklab(81.33% -0.0507 0.1352)
OKLCHoklch(81.33% 0.144 110.5)
XYZxyz(46.0863, 54.9488, 15.5741)
Luminance0.5495 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CA4F #524FCA
analogous
#CA8F4F #C7CA4F #8ACA4F
triadic
#C7CA4F #4FC7CA #CA4FC7
tetradic
#C7CA4F #4FCA8F #524FCA #CA4F8A
square
#C7CA4F #4FCA8F #524FCA #CA4F8A
split-complementary
#C7CA4F #4F8ACA #8F4FCA
monochromatic
#787A25 #A6A933 #C7CA4F #D6D87E #E5E6AD

Accessibility & contrast

On white

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

On black

11.99
#C7CA4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CA4F
11.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CA4F#FFFFFF#000000##000000
##C7CA4F1.001.7511.9911.99
#FFFFFF1.751.0021.0021.00
#00000011.9921.001.001.00
##00000011.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#D9C240
Deuteranopia (green-blind)
#DAC557
Tritanopia (blue-blind)
#D4BEB0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #c7ca4f;
/* rgb */ color: rgb(199, 202, 79);
/* oklch */ color: oklch(81.3% 0.144 110.5);
Tailwind
colors: {
  custom: {
    50: '#dbd986',
    500: '#c7ca4f',
    950: '#000000',
  },
}
SCSS
$custom: #c7ca4f;
$custom-light: #dbd986;
$custom-dark: #000000;
JSON
{
  "hex": "#c7ca4f",
  "rgb": {
    "r": 199,
    "g": 202,
    "b": 79
  },
  "hsl": {
    "h": 61.463,
    "s": 53.712,
    "l": 55.098
  },
  "oklch": {
    "l": 0.81329,
    "c": 0.14441,
    "h": 110.5
  },
  "luminance": 0.54948
}

Semantic roles & 50–950 ramp

primary
#C7CA4F
secondary
#3D3B82
accent
#4BDD4E
background
#FEFEFB
surface
#FCFBF2
border
#D5D4CC
text
#15140B
muted
#84837E

Preview Lab

Preview with #C7CA4F

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

Preview Lab → · Contrast checker → · Palette generator →

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