#CFCB3F#CFCB3F

#CFCB3F is a very light, vivid yellow. Relative luminance 0.563; OKLCH L 82.1% C 0.155 H 107.7°. Best body text is #000000 at 12.27:1 contrast (WCAG AA passes).

Color values

HEX#CFCB3F
RGBrgb(207, 203, 63)
HSLhsl(58, 60%, 53%)
HSVhsv(58, 70%, 81%)
CMYKcmyk(0%, 1.9%, 69.6%, 18.8%)
CIE-LABlab(79.81, -14.82, 66.58)
CIE-LCHlch(79.81, 68.21, 102.55°)
OKLaboklab(82.08% -0.0474 0.1481)
OKLCHoklch(82.08% 0.155 107.7)
XYZxyz(47.9870, 56.3377, 13.0482)
Luminance0.5634 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCB3F #3F43CF
analogous
#CF833F #CFCB3F #8BCF3F
triadic
#CFCB3F #3FCFCB #CB3FCF
tetradic
#CFCB3F #3FCF83 #3F43CF #CF3F8B
square
#CFCB3F #3FCF83 #3F43CF #CF3F8B
split-complementary
#CFCB3F #3F8BCF #833FCF
monochromatic
#76741E #A7A42A #CFCB3F #DBD870 #E7E6A1

Accessibility & contrast

On white

1.71
#CFCB3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.27
#CFCB3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCB3F
12.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCB3F#FFFFFF#000000##000000
##CFCB3F1.001.7112.2712.27
#FFFFFF1.711.0021.0021.00
#00000012.2721.001.001.00
##00000012.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC328
Deuteranopia (green-blind)
#DEC849
Tritanopia (blue-blind)
#DEBEAF
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cfcb3f;
/* rgb */ color: rgb(207, 203, 63);
/* oklch */ color: oklch(82.1% 0.155 107.7);
Tailwind
colors: {
  custom: {
    50: '#e1da7d',
    500: '#cfcb3f',
    950: '#000000',
  },
}
SCSS
$custom: #cfcb3f;
$custom-light: #e1da7d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcb3f",
  "rgb": {
    "r": 207,
    "g": 203,
    "b": 63
  },
  "hsl": {
    "h": 58.333,
    "s": 60,
    "l": 52.941
  },
  "oklch": {
    "l": 0.82082,
    "c": 0.15546,
    "h": 107.7
  },
  "luminance": 0.56336
}

Semantic roles & 50–950 ramp

primary
#CFCB3F
secondary
#34367F
accent
#49E345
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CFCB3F

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

Preview Lab → · Contrast checker → · Palette generator →

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