#CFC13E#CFC13E

#CFC13E is a light, vivid yellow. Relative luminance 0.518; OKLCH L 80.0% C 0.147 H 103.1°. Best body text is #000000 at 11.35:1 contrast (WCAG AA passes).

Color values

HEX#CFC13E
RGBrgb(207, 193, 62)
HSLhsl(54, 60%, 53%)
HSVhsv(54, 70%, 81%)
CMYKcmyk(0%, 6.8%, 70%, 18.8%)
CIE-LABlab(77.13, -9.81, 64.31)
CIE-LCHlch(77.13, 65.06, 98.67°)
OKLaboklab(79.95% -0.0334 0.1431)
OKLCHoklch(79.95% 0.147 103.1)
XYZxyz(45.6735, 51.7550, 12.1404)
Luminance0.5175 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC13E #3E4CCF
analogous
#CF783E #CFC13E #94CF3E
triadic
#CFC13E #3ECFC1 #C13ECF
tetradic
#CFC13E #3ECF78 #3E4CCF #CF3E94
square
#CFC13E #3ECF78 #3E4CCF #CF3E94
split-complementary
#CFC13E #3E94CF #783ECF
monochromatic
#756D1D #A69A29 #CFC13E #DBD16F #E7E0A0

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFC13E#FFFFFF#000000##000000
##CFC13E1.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)
#D2BB29
Deuteranopia (green-blind)
#D7C147
Tritanopia (blue-blind)
#DEB4A7
Achromatopsia (no color)
#BEBEBE

Design tokens & code

CSS
--color: #cfc13e;
/* rgb */ color: rgb(207, 193, 62);
/* oklch */ color: oklch(80.0% 0.147 103.1);
Tailwind
colors: {
  custom: {
    50: '#e1d37b',
    500: '#cfc13e',
    950: '#000000',
  },
}
SCSS
$custom: #cfc13e;
$custom-light: #e1d37b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc13e",
  "rgb": {
    "r": 207,
    "g": 193,
    "b": 62
  },
  "hsl": {
    "h": 54.207,
    "s": 60.166,
    "l": 52.745
  },
  "oklch": {
    "l": 0.79952,
    "c": 0.14694,
    "h": 103.1
  },
  "luminance": 0.51753
}

Semantic roles & 50–950 ramp

primary
#CFC13E
secondary
#333A7E
accent
#54E344
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CFC13E

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

Preview Lab → · Contrast checker → · Palette generator →

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