#CFC562#CFC562

#CFC562 is a light, vivid yellow. Relative luminance 0.541; OKLCH L 81.1% C 0.122 H 103.5°. Best body text is #000000 at 11.82:1 contrast (WCAG AA passes).

Color values

HEX#CFC562
RGBrgb(207, 197, 98)
HSLhsl(54, 53%, 60%)
HSVhsv(54, 53%, 81%)
CMYKcmyk(0%, 4.8%, 52.7%, 18.8%)
CIE-LABlab(78.51, -9.46, 50.27)
CIE-LCHlch(78.51, 51.16, 100.66°)
OKLaboklab(81.15% -0.0284 0.1182)
OKLCHoklch(81.15% 0.122 103.5)
XYZxyz(47.9044, 54.0813, 19.4682)
Luminance0.5408 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC562 #626CCF
analogous
#CF8E62 #CFC562 #A3CF62
triadic
#CFC562 #62CFC5 #C562CF
tetradic
#CFC562 #62CF8E #626CCF #CF62A3
square
#CFC562 #62CF8E #626CCF #CF62A3
split-complementary
#CFC562 #62A3CF #8E62CF
monochromatic
#8C832B #BBAF39 #CFC562 #DDD691 #ECE8C0

Accessibility & contrast

On white

1.78
#CFC562 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.82
#CFC562 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC562
11.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC562#FFFFFF#000000##000000
##CFC5621.001.7811.8211.82
#FFFFFF1.781.0021.0021.00
#00000011.8221.001.001.00
##00000011.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#D4BF59
Deuteranopia (green-blind)
#D7C567
Tritanopia (blue-blind)
#DCBAAF
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cfc562;
/* rgb */ color: rgb(207, 197, 98);
/* oklch */ color: oklch(81.1% 0.122 103.5);
Tailwind
colors: {
  custom: {
    50: '#e0d691',
    500: '#cfc562',
    950: '#000000',
  },
}
SCSS
$custom: #cfc562;
$custom-light: #e0d691;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc562",
  "rgb": {
    "r": 207,
    "g": 197,
    "b": 98
  },
  "hsl": {
    "h": 54.495,
    "s": 53.171,
    "l": 59.804
  },
  "oklch": {
    "l": 0.81146,
    "c": 0.12153,
    "h": 103.5
  },
  "luminance": 0.5408
}

Semantic roles & 50–950 ramp

primary
#CFC562
secondary
#434A92
accent
#59DD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#15140D
muted
#84837F

Preview Lab

Preview with #CFC562

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

Preview Lab → · Contrast checker → · Palette generator →

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