#CFC67F#CFC67F

#CFC67F is a light, moderate yellow. Relative luminance 0.552; OKLCH L 81.8% C 0.092 H 102.0°. Best body text is #000000 at 12.04:1 contrast (WCAG AA passes).

Color values

HEX#CFC67F
RGBrgb(207, 198, 127)
HSLhsl(53, 45%, 65%)
HSVhsv(53, 39%, 81%)
CMYKcmyk(0%, 4.3%, 38.6%, 18.8%)
CIE-LABlab(79.15, -7.15, 36.71)
CIE-LCHlch(79.15, 37.40, 101.02°)
OKLaboklab(81.78% -0.019 0.0899)
OKLCHoklch(81.78% 0.092 102)
XYZxyz(49.7578, 55.1872, 28.1056)
Luminance0.5519 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFC67F #7F88CF
analogous
#CF9E7F #CFC67F #B0CF7F
triadic
#CFC67F #7FCFC6 #C67FCF
tetradic
#CFC67F #7FCF9E #7F88CF #CF7FB0
square
#CFC67F #7FCF9E #7F88CF #CF7FB0
split-complementary
#CFC67F #7FB0CF #9E7FCF
monochromatic
#9A8F3A #BEB252 #CFC67F #E0DAAC #F0EED8

Accessibility & contrast

On white

1.74
#CFC67F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.04
#CFC67F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFC67F
12.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFC67F#FFFFFF#000000##000000
##CFC67F1.001.7412.0412.04
#FFFFFF1.741.0021.0021.00
#00000012.0421.001.001.00
##00000012.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#D2C27A
Deuteranopia (green-blind)
#D5C682
Tritanopia (blue-blind)
#DABDB4
Achromatopsia (no color)
#C4C4C4

Design tokens & code

CSS
--color: #cfc67f;
/* rgb */ color: rgb(207, 198, 127);
/* oklch */ color: oklch(81.8% 0.092 102.0);
Tailwind
colors: {
  custom: {
    50: '#dfd7a5',
    500: '#cfc67f',
    950: '#000000',
  },
}
SCSS
$custom: #cfc67f;
$custom-light: #dfd7a5;
$custom-dark: #000000;
JSON
{
  "hex": "#cfc67f",
  "rgb": {
    "r": 207,
    "g": 198,
    "b": 127
  },
  "hsl": {
    "h": 53.25,
    "s": 45.455,
    "l": 65.49
  },
  "oklch": {
    "l": 0.81776,
    "c": 0.09194,
    "h": 102
  },
  "luminance": 0.55186
}

Semantic roles & 50–950 ramp

primary
#CFC67F
secondary
#535BA0
accent
#3DB92D
background
#FEFEFC
surface
#FCFBF6
border
#D5D4D0
text
#15140F
muted
#848380

Preview Lab

Preview with #CFC67F

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

Preview Lab → · Contrast checker → · Palette generator →

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