#CFC530#CFC530

#CFC530 is a light, vivid yellow. Relative luminance 0.534; OKLCH L 80.7% C 0.158 H 105.4°. Best body text is #000000 at 11.68:1 contrast (WCAG AA passes).

Color values

HEX#CFC530
RGBrgb(207, 197, 48)
HSLhsl(56, 62%, 50%)
HSVhsv(56, 77%, 81%)
CMYKcmyk(0%, 4.8%, 76.8%, 18.8%)
CIE-LABlab(78.12, -12.45, 70.07)
CIE-LCHlch(78.12, 71.16, 100.08°)
OKLaboklab(80.71% -0.0421 0.1528)
OKLCHoklch(80.71% 0.158 105.4)
XYZxyz(46.2339, 53.4131, 10.6701)
Luminance0.5341 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC530 #303ACF
analogous
#CF7530 #CFC530 #8ACF30
triadic
#CFC530 #30CFC5 #C530CF
tetradic
#CFC530 #30CF75 #303ACF #CF308A
square
#CFC530 #30CF75 #303ACF #CF308A
split-complementary
#CFC530 #308ACF #7530CF
monochromatic
#6C6619 #9D9624 #CFC530 #DBD362 #E6E193

Accessibility & contrast

On white

1.80
#CFC530 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

11.68
#CFC530 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC530
11.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC530#FFFFFF#000000##000000
##CFC5301.001.8011.6811.68
#FFFFFF1.801.0021.0021.00
#00000011.6821.001.001.00
##00000011.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#D7BE06
Deuteranopia (green-blind)
#DAC43C
Tritanopia (blue-blind)
#DFB7A9
Achromatopsia (no color)
#C1C1C1

Design tokens & code

CSS
--color: #cfc530;
/* rgb */ color: rgb(207, 197, 48);
/* oklch */ color: oklch(80.7% 0.158 105.4);
Tailwind
colors: {
  custom: {
    50: '#e2d675',
    500: '#cfc530',
    950: '#000000',
  },
}
SCSS
$custom: #cfc530;
$custom-light: #e2d675;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc530",
  "rgb": {
    "r": 207,
    "g": 197,
    "b": 48
  },
  "hsl": {
    "h": 56.226,
    "s": 62.353,
    "l": 50
  },
  "oklch": {
    "l": 0.8071,
    "c": 0.15847,
    "h": 105.4
  },
  "luminance": 0.53411
}

Semantic roles & 50–950 ramp

primary
#CFC530
secondary
#2E3275
accent
#4DE542
background
#FEFEFB
surface
#FDFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CFC530

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

Preview Lab → · Contrast checker → · Palette generator →

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