#C7C06D#C7C06D

#C7C06D is a light, moderate yellow. Relative luminance 0.509; OKLCH L 79.5% C 0.105 H 104.3°. Best body text is #000000 at 11.19:1 contrast (WCAG AA passes).

Color values

HEX#C7C06D
RGBrgb(199, 192, 109)
HSLhsl(55, 45%, 60%)
HSVhsv(55, 45%, 78%)
CMYKcmyk(0%, 3.5%, 45.2%, 22%)
CIE-LABlab(76.65, -9.17, 42.52)
CIE-LCHlch(76.65, 43.50, 102.17°)
OKLaboklab(79.55% -0.026 0.1022)
OKLCHoklch(79.55% 0.105 104.3)
XYZxyz(45.1641, 50.9468, 21.9196)
Luminance0.5095 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C7C06D #6D74C7
analogous
#C7936D #C7C06D #A1C76D
triadic
#C7C06D #6DC7C0 #C06DC7
tetradic
#C7C06D #6DC793 #6D74C7 #C76DA1
square
#C7C06D #6DC793 #6D74C7 #C76DA1
split-complementary
#C7C06D #6DA1C7 #936DC7
monochromatic
#868033 #B2AA44 #C7C06D #D8D399 #E9E6C5

Accessibility & contrast

On white

1.88
#C7C06D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.19
#C7C06D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C7C06D
11.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C7C06D#FFFFFF#000000##000000
##C7C06D1.001.8811.1911.19
#FFFFFF1.881.0021.0021.00
#00000011.1921.001.001.00
##00000011.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDBB66
Deuteranopia (green-blind)
#D0BF71
Tritanopia (blue-blind)
#D3B6AC
Achromatopsia (no color)
#BDBDBD

Design tokens & code

CSS
--color: #c7c06d;
/* rgb */ color: rgb(199, 192, 109);
/* oklch */ color: oklch(79.5% 0.105 104.3);
Tailwind
colors: {
  custom: {
    50: '#d9d298',
    500: '#c7c06d',
    950: '#000000',
  },
}
SCSS
$custom: #c7c06d;
$custom-light: #d9d298;
$custom-dark: #000000;
JSON
{
  "hex": "#c7c06d",
  "rgb": {
    "r": 199,
    "g": 192,
    "b": 109
  },
  "hsl": {
    "h": 55.333,
    "s": 44.554,
    "l": 60.392
  },
  "oklch": {
    "l": 0.79549,
    "c": 0.10541,
    "h": 104.3
  },
  "luminance": 0.50946
}

Semantic roles & 50–950 ramp

primary
#C7C06D
secondary
#4A508E
accent
#39B82E
background
#FEFEFC
surface
#FCFBF5
border
#D5D4CF
text
#15140E
muted
#84837F

Preview Lab

Preview with #C7C06D

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

Preview Lab → · Contrast checker → · Palette generator →

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