#CFC13C#CFC13C

#CFC13C is a light, vivid yellow. Relative luminance 0.517; OKLCH L 79.9% C 0.148 H 103.2°. Best body text is #000000 at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#CFC13C
RGBrgb(207, 193, 60)
HSLhsl(54, 60%, 52%)
HSVhsv(54, 71%, 81%)
CMYKcmyk(0%, 6.8%, 71%, 18.8%)
CIE-LABlab(77.12, -9.91, 65.05)
CIE-LCHlch(77.12, 65.80, 98.66°)
OKLaboklab(79.94% -0.0338 0.1443)
OKLCHoklch(79.94% 0.148 103.2)
XYZxyz(45.6197, 51.7335, 11.8567)
Luminance0.5173 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC13C #3C4ACF
analogous
#CF783C #CFC13C #93CF3C
triadic
#CFC13C #3CCFC1 #C13CCF
tetradic
#CFC13C #3CCF78 #3C4ACF #CF3C93
square
#CFC13C #3CCF78 #3C4ACF #CF3C93
split-complementary
#CFC13C #3C93CF #783CCF
monochromatic
#746C1D #A59929 #CFC13C #DBD16D #E7E09E

Accessibility & contrast

On white

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

On black

11.35
#CFC13C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC13C
11.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC13C#FFFFFF#000000##000000
##CFC13C1.001.8511.3511.35
#FFFFFF1.851.0021.0021.00
#00000011.3521.001.001.00
##00000011.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2BB26
Deuteranopia (green-blind)
#D7C145
Tritanopia (blue-blind)
#DFB4A7
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cfc13c;
/* rgb */ color: rgb(207, 193, 60);
/* oklch */ color: oklch(79.9% 0.148 103.2);
Tailwind
colors: {
  custom: {
    50: '#e1d37a',
    500: '#cfc13c',
    950: '#000000',
  },
}
SCSS
$custom: #cfc13c;
$custom-light: #e1d37a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc13c",
  "rgb": {
    "r": 207,
    "g": 193,
    "b": 60
  },
  "hsl": {
    "h": 54.286,
    "s": 60.494,
    "l": 52.353
  },
  "oklch": {
    "l": 0.79938,
    "c": 0.14822,
    "h": 103.2
  },
  "luminance": 0.51732
}

Semantic roles & 50–950 ramp

primary
#CFC13C
secondary
#333A7D
accent
#53E444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CFC13C

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

Preview Lab → · Contrast checker → · Palette generator →

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