#CFC062#CFC062

#CFC062 is a light, moderate yellow. Relative luminance 0.518; OKLCH L 80.1% C 0.117 H 100.4°. Best body text is #000000 at 11.37:1 contrast (WCAG AA passes).

Color values

HEX#CFC062
RGBrgb(207, 192, 98)
HSLhsl(52, 53%, 60%)
HSVhsv(52, 53%, 81%)
CMYKcmyk(0%, 7.2%, 52.7%, 18.8%)
CIE-LABlab(77.19, -6.89, 48.72)
CIE-LCHlch(77.19, 49.21, 98.05°)
OKLaboklab(80.1% -0.021 0.1148)
OKLCHoklch(80.1% 0.117 100.4)
XYZxyz(46.7879, 51.8482, 19.0960)
Luminance0.5185 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC062 #6271CF
analogous
#CF8962 #CFC062 #A8CF62
triadic
#CFC062 #62CFC0 #C062CF
tetradic
#CFC062 #62CF89 #6271CF #CF62A8
square
#CFC062 #62CF89 #6271CF #CF62A8
split-complementary
#CFC062 #62A8CF #8962CF
monochromatic
#8C7E2B #BBA939 #CFC062 #DDD391 #ECE6C0

Accessibility & contrast

On white

1.85
#CFC062 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.37
#CFC062 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC062
11.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC062#FFFFFF#000000##000000
##CFC0621.001.8511.3711.37
#FFFFFF1.851.0021.0021.00
#00000011.3721.001.001.00
##00000011.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#CFBB59
Deuteranopia (green-blind)
#D4C166
Tritanopia (blue-blind)
#DDB5AA
Achromatopsia (no color)
#BFBFBF

Design tokens & code

CSS
--color: #cfc062;
/* rgb */ color: rgb(207, 192, 98);
/* oklch */ color: oklch(80.1% 0.117 100.4);
Tailwind
colors: {
  custom: {
    50: '#e0d291',
    500: '#cfc062',
    950: '#000000',
  },
}
SCSS
$custom: #cfc062;
$custom-light: #e0d291;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc062",
  "rgb": {
    "r": 207,
    "g": 192,
    "b": 98
  },
  "hsl": {
    "h": 51.743,
    "s": 53.171,
    "l": 59.804
  },
  "oklch": {
    "l": 0.801,
    "c": 0.1167,
    "h": 100.4
  },
  "luminance": 0.51847
}

Semantic roles & 50–950 ramp

primary
#CFC062
secondary
#434E92
accent
#5FDD4B
background
#FEFEFC
surface
#FCFBF4
border
#D5D4CE
text
#16140D
muted
#84837F

Preview Lab

Preview with #CFC062

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

Preview Lab → · Contrast checker → · Palette generator →

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