#CFCF3F#CFCF3F

#CFCF3F is a very light, vivid yellow. Relative luminance 0.583; OKLCH L 82.9% C 0.159 H 109.4°. Best body text is #000000 at 12.65:1 contrast (WCAG AA passes).

Color values

HEX#CFCF3F
RGBrgb(207, 207, 63)
HSLhsl(60, 60%, 53%)
HSVhsv(60, 70%, 81%)
CMYKcmyk(0%, 0%, 69.6%, 18.8%)
CIE-LABlab(80.88, -16.81, 67.63)
CIE-LCHlch(80.88, 69.69, 103.96°)
OKLaboklab(82.94% -0.053 0.1503)
OKLCHoklch(82.94% 0.159 109.4)
XYZxyz(48.9439, 58.2514, 13.3671)
Luminance0.5825 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCF3F #3F3FCF
analogous
#CF873F #CFCF3F #87CF3F
triadic
#CFCF3F #3FCFCF #CF3FCF
tetradic
#CFCF3F #3FCF87 #3F3FCF #CF3F87
square
#CFCF3F #3FCF87 #3F3FCF #CF3F87
split-complementary
#CFCF3F #3F87CF #873FCF
monochromatic
#76761E #A7A72A #CFCF3F #DBDB70 #E7E7A1

Accessibility & contrast

On white

1.66
#CFCF3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.65
#CFCF3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCF3F
12.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCF3F#FFFFFF#000000##000000
##CFCF3F1.001.6612.6512.65
#FFFFFF1.661.0021.0021.00
#00000012.6521.001.001.00
##00000012.6521.001.001.00

Color blindness preview

Protanopia (red-blind)
#DFC627
Deuteranopia (green-blind)
#E1CB4A
Tritanopia (blue-blind)
#DDC2B3
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cfcf3f;
/* rgb */ color: rgb(207, 207, 63);
/* oklch */ color: oklch(82.9% 0.159 109.4);
Tailwind
colors: {
  custom: {
    50: '#e1dd7d',
    500: '#cfcf3f',
    950: '#000000',
  },
}
SCSS
$custom: #cfcf3f;
$custom-light: #e1dd7d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcf3f",
  "rgb": {
    "r": 207,
    "g": 207,
    "b": 63
  },
  "hsl": {
    "h": 60,
    "s": 60,
    "l": 52.941
  },
  "oklch": {
    "l": 0.82938,
    "c": 0.15935,
    "h": 109.4
  },
  "luminance": 0.5825
}

Semantic roles & 50–950 ramp

primary
#CFCF3F
secondary
#34347F
accent
#45E345
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CFCF3F

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

Preview Lab → · Contrast checker → · Palette generator →

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