#C7CF72#C7CF72

#C7CF72 is a very light, moderate yellow. Relative luminance 0.580; OKLCH L 82.8% C 0.118 H 113.0°. Best body text is #000000 at 12.60:1 contrast (WCAG AA passes).

Color values

HEX#C7CF72
RGBrgb(199, 207, 114)
HSLhsl(65, 49%, 63%)
HSVhsv(65, 45%, 81%)
CMYKcmyk(3.9%, 0%, 44.9%, 18.8%)
CIE-LABlab(80.73, -16.28, 45.08)
CIE-LCHlch(80.73, 47.93, 109.86°)
OKLaboklab(82.82% -0.0459 0.1082)
OKLCHoklch(82.82% 0.118 113)
XYZxyz(48.9040, 57.9834, 24.5320)
Luminance0.5798 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7CF72 #7A72CF
analogous
#CFA872 #C7CF72 #99CF72
triadic
#C7CF72 #72C7CF #CF72C7
tetradic
#C7CF72 #72CFA8 #7A72CF #CF7299
square
#C7CF72 #72CFA8 #7A72CF #CF7299
split-complementary
#C7CF72 #7299CF #A872CF
monochromatic
#8C9432 #B5BF44 #C7CF72 #D9DFA0 #EBEECD

Accessibility & contrast

On white

1.67
#C7CF72 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.60
#C7CF72 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7CF72
12.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7CF72#FFFFFF#000000##000000
##C7CF721.001.6712.6012.60
#FFFFFF1.671.0021.0021.00
#00000012.6021.001.001.00
##00000012.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#DBC76A
Deuteranopia (green-blind)
#DBCA77
Tritanopia (blue-blind)
#D1C5B9
Achromatopsia (no color)
#C8C8C8

Design tokens & code

CSS
--color: #c7cf72;
/* rgb */ color: rgb(199, 207, 114);
/* oklch */ color: oklch(82.8% 0.118 113.0);
Tailwind
colors: {
  custom: {
    50: '#d9dd9c',
    500: '#c7cf72',
    950: '#000000',
  },
}
SCSS
$custom: #c7cf72;
$custom-light: #d9dd9c;
$custom-dark: #000000;
JSON
{
  "hex": "#c7cf72",
  "rgb": {
    "r": 199,
    "g": 207,
    "b": 114
  },
  "hsl": {
    "h": 65.161,
    "s": 49.206,
    "l": 62.941
  },
  "oklch": {
    "l": 0.82819,
    "c": 0.11751,
    "h": 113
  },
  "luminance": 0.57983
}

Semantic roles & 50–950 ramp

primary
#C7CF72
secondary
#524B9A
accent
#29BD36
background
#FEFEFC
surface
#FCFCF5
border
#D5D5CF
text
#15150E
muted
#84847F

Preview Lab

Preview with #C7CF72

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

Preview Lab → · Contrast checker → · Palette generator →

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