#CFCF4F#CFCF4F

#CFCF4F is a very light, vivid yellow. Relative luminance 0.585; OKLCH L 83.1% C 0.148 H 109.2°. Best body text is #000000 at 12.69:1 contrast (WCAG AA passes).

Color values

HEX#CFCF4F
RGBrgb(207, 207, 79)
HSLhsl(60, 57%, 56%)
HSVhsv(60, 62%, 81%)
CMYKcmyk(0%, 0%, 61.8%, 18.8%)
CIE-LABlab(80.99, -15.91, 61.53)
CIE-LCHlch(80.99, 63.55, 104.50°)
OKLaboklab(83.07% -0.0488 0.1399)
OKLCHoklch(83.07% 0.148 109.2)
XYZxyz(49.4578, 58.4569, 16.0737)
Luminance0.5846 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCF4F #4F4FCF
analogous
#CF8F4F #CFCF4F #8FCF4F
triadic
#CFCF4F #4FCFCF #CF4FCF
tetradic
#CFCF4F #4FCF8F #4F4FCF #CF4F8F
square
#CFCF4F #4FCF8F #4F4FCF #CF4F8F
split-complementary
#CFCF4F #4F8FCF #8F4FCF
monochromatic
#818123 #B1B130 #CFCF4F #DCDC7F #E9E9AF

Accessibility & contrast

On white

1.65
#CFCF4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.69
#CFCF4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCF4F
12.69:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCF4F#FFFFFF#000000##000000
##CFCF4F1.001.6512.6912.69
#FFFFFF1.651.0021.0021.00
#00000012.6921.001.001.00
##00000012.6921.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC73F
Deuteranopia (green-blind)
#E0CB57
Tritanopia (blue-blind)
#DDC3B4
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cfcf4f;
/* rgb */ color: rgb(207, 207, 79);
/* oklch */ color: oklch(83.1% 0.148 109.2);
Tailwind
colors: {
  custom: {
    50: '#e1dd86',
    500: '#cfcf4f',
    950: '#000000',
  },
}
SCSS
$custom: #cfcf4f;
$custom-light: #e1dd86;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcf4f",
  "rgb": {
    "r": 207,
    "g": 207,
    "b": 79
  },
  "hsl": {
    "h": 60,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.83065,
    "c": 0.14819,
    "h": 109.2
  },
  "luminance": 0.58456
}

Semantic roles & 50–950 ramp

primary
#CFCF4F
secondary
#3A3A88
accent
#47E047
background
#FEFEFC
surface
#FCFCF3
border
#D5D5CD
text
#16150C
muted
#84847F

Preview Lab

Preview with #CFCF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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