#CFC762#CFC762

#CFC762 is a light, vivid yellow. Relative luminance 0.550; OKLCH L 81.6% C 0.124 H 104.7°. Best body text is #000000 at 12.00:1 contrast (WCAG AA passes).

Color values

HEX#CFC762
RGBrgb(207, 199, 98)
HSLhsl(56, 53%, 60%)
HSVhsv(56, 53%, 81%)
CMYKcmyk(0%, 3.9%, 52.7%, 18.8%)
CIE-LABlab(79.04, -10.48, 50.89)
CIE-LCHlch(79.04, 51.96, 101.64°)
OKLaboklab(81.57% -0.0313 0.1195)
OKLCHoklch(81.57% 0.124 104.7)
XYZxyz(48.3615, 54.9956, 19.6206)
Luminance0.5499 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC762 #626ACF
analogous
#CF9062 #CFC762 #A1CF62
triadic
#CFC762 #62CFC7 #C762CF
tetradic
#CFC762 #62CF90 #626ACF #CF62A1
square
#CFC762 #62CF90 #626ACF #CF62A1
split-complementary
#CFC762 #62A1CF #9062CF
monochromatic
#8C852B #BBB139 #CFC762 #DDD891 #ECE8C0

Accessibility & contrast

On white

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

On black

12.00
#CFC762 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC762
12.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC762#FFFFFF#000000##000000
##CFC7621.001.7512.0012.00
#FFFFFF1.751.0021.0021.00
#00000012.0021.001.001.00
##00000012.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#D6C158
Deuteranopia (green-blind)
#D9C667
Tritanopia (blue-blind)
#DCBCB0
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cfc762;
/* rgb */ color: rgb(207, 199, 98);
/* oklch */ color: oklch(81.6% 0.124 104.7);
Tailwind
colors: {
  custom: {
    50: '#e0d791',
    500: '#cfc762',
    950: '#000000',
  },
}
SCSS
$custom: #cfc762;
$custom-light: #e0d791;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc762",
  "rgb": {
    "r": 207,
    "g": 199,
    "b": 98
  },
  "hsl": {
    "h": 55.596,
    "s": 53.171,
    "l": 59.804
  },
  "oklch": {
    "l": 0.81567,
    "c": 0.12354,
    "h": 104.7
  },
  "luminance": 0.54994
}

Semantic roles & 50–950 ramp

primary
#CFC762
secondary
#434992
accent
#56DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CFC762

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

Preview Lab → · Contrast checker → · Palette generator →

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