#C6C72F#C6C72F

#C6C72F is a light, vivid yellow. Relative luminance 0.531; OKLCH L 80.4% C 0.162 H 109.9°. Best body text is #000000 at 11.61:1 contrast (WCAG AA passes).

Color values

HEX#C6C72F
RGBrgb(198, 199, 47)
HSLhsl(60, 62%, 48%)
HSVhsv(60, 76%, 78%)
CMYKcmyk(0.5%, 0%, 76.4%, 22%)
CIE-LABlab(77.91, -17.33, 69.91)
CIE-LCHlch(77.91, 72.02, 103.92°)
OKLaboklab(80.36% -0.0554 0.1526)
OKLCHoklch(80.36% 0.162 109.9)
XYZxyz(44.2269, 53.0592, 10.6005)
Luminance0.5306 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#C6C72F #302FC7
analogous
#C77C2F #C6C72F #7AC72F
triadic
#C6C72F #2FC6C7 #C72FC6
tetradic
#C6C72F #2FC77C #302FC7 #C72F7A
square
#C6C72F #2FC77C #302FC7 #C72F7A
split-complementary
#C6C72F #2F7AC7 #7C2FC7
monochromatic
#636418 #959523 #C6C72F #D7D85B #E3E48C

Accessibility & contrast

On white

1.81
#C6C72F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.61
#C6C72F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #C6C72F
11.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##C6C72F#FFFFFF#000000##000000
##C6C72F1.001.8111.6111.61
#FFFFFF1.811.0021.0021.00
#00000011.6121.001.001.00
##00000011.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE01
Deuteranopia (green-blind)
#D9C33C
Tritanopia (blue-blind)
#D4BAAB
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #c6c72f;
/* rgb */ color: rgb(198, 199, 47);
/* oklch */ color: oklch(80.4% 0.162 109.9);
Tailwind
colors: {
  custom: {
    50: '#dbd774',
    500: '#c6c72f',
    950: '#000000',
  },
}
SCSS
$custom: #c6c72f;
$custom-light: #dbd774;
$custom-dark: #000000;
JSON
{
  "hex": "#c6c72f",
  "rgb": {
    "r": 198,
    "g": 199,
    "b": 47
  },
  "hsl": {
    "h": 60.395,
    "s": 61.789,
    "l": 48.235
  },
  "oklch": {
    "l": 0.80363,
    "c": 0.16233,
    "h": 109.9
  },
  "luminance": 0.53058
}

Semantic roles & 50–950 ramp

primary
#C6C72F
secondary
#2C2C6E
accent
#43E544
background
#FEFEFB
surface
#FCFBF1
border
#D5D4CB
text
#151409
muted
#84837D

Preview Lab

Preview with #C6C72F

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

Preview Lab → · Contrast checker → · Palette generator →

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