#CFC62F#CFC62F

#CFC62F is a light, vivid yellow. Relative luminance 0.539; OKLCH L 80.9% C 0.160 H 105.9°. Best body text is #000000 at 11.77:1 contrast (WCAG AA passes).

Color values

HEX#CFC62F
RGBrgb(207, 198, 47)
HSLhsl(57, 63%, 50%)
HSVhsv(57, 77%, 81%)
CMYKcmyk(0%, 4.3%, 77.3%, 18.8%)
CIE-LABlab(78.38, -13.00, 70.61)
CIE-LCHlch(78.38, 71.79, 100.43°)
OKLaboklab(80.92% -0.0437 0.1537)
OKLCHoklch(80.92% 0.16 105.9)
XYZxyz(46.4413, 53.8606, 10.6386)
Luminance0.5386 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC62F #2F38CF
analogous
#CF762F #CFC62F #88CF2F
triadic
#CFC62F #2FCFC6 #C62FCF
tetradic
#CFC62F #2FCF76 #2F38CF #CF2F88
square
#CFC62F #2FCF76 #2F38CF #CF2F88
split-complementary
#CFC62F #2F88CF #762FCF
monochromatic
#6B6718 #9D9624 #CFC62F #DBD460 #E6E292

Accessibility & contrast

On white

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

On black

11.77
#CFC62F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC62F
11.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC62F#FFFFFF#000000##000000
##CFC62F1.001.7811.7711.77
#FFFFFF1.781.0021.0021.00
#00000011.7721.001.001.00
##00000011.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#D8BF01
Deuteranopia (green-blind)
#DBC53B
Tritanopia (blue-blind)
#DFB8AA
Achromatopsia (no color)
#C2C2C2

Design tokens & code

CSS
--color: #cfc62f;
/* rgb */ color: rgb(207, 198, 47);
/* oklch */ color: oklch(80.9% 0.160 105.9);
Tailwind
colors: {
  custom: {
    50: '#e2d674',
    500: '#cfc62f',
    950: '#000000',
  },
}
SCSS
$custom: #cfc62f;
$custom-light: #e2d674;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc62f",
  "rgb": {
    "r": 207,
    "g": 198,
    "b": 47
  },
  "hsl": {
    "h": 56.625,
    "s": 62.992,
    "l": 49.804
  },
  "oklch": {
    "l": 0.80917,
    "c": 0.15983,
    "h": 105.9
  },
  "luminance": 0.53859
}

Semantic roles & 50–950 ramp

primary
#CFC62F
secondary
#2D3175
accent
#4BE642
background
#FEFEFB
surface
#FDFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CFC62F

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

Preview Lab → · Contrast checker → · Palette generator →

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