#CFCB2D#CFCB2D

#CFCB2D is a light, vivid yellow. Relative luminance 0.562; OKLCH L 82.0% C 0.165 H 108.0°. Best body text is #000000 at 12.23:1 contrast (WCAG AA passes).

Color values

HEX#CFCB2D
RGBrgb(207, 203, 45)
HSLhsl(59, 64%, 49%)
HSVhsv(59, 78%, 81%)
CMYKcmyk(0%, 1.9%, 78.3%, 18.8%)
CIE-LABlab(79.71, -15.58, 72.38)
CIE-LCHlch(79.71, 74.04, 102.15°)
OKLaboklab(81.98% -0.0511 0.1572)
OKLCHoklch(81.98% 0.165 108)
XYZxyz(47.5636, 56.1684, 10.8182)
Luminance0.5617 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCB2D #2D31CF
analogous
#CF7A2D #CFCB2D #82CF2D
triadic
#CFCB2D #2DCFCB #CB2DCF
tetradic
#CFCB2D #2DCF7A #2D31CF #CF2D82
square
#CFCB2D #2DCF7A #2D31CF #CF2D82
split-complementary
#CFCB2D #2D82CF #7A2DCF
monochromatic
#6A6817 #9D9A22 #CFCB2D #DCD95D #E7E590

Accessibility & contrast

On white

1.72
#CFCB2D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

12.23
#CFCB2D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCB2D
12.23:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCB2D#FFFFFF#000000##000000
##CFCB2D1.001.7212.2312.23
#FFFFFF1.721.0021.0021.00
#00000012.2321.001.001.00
##00000012.2321.001.001.00

Color blindness preview

Protanopia (red-blind)
#DCC300
Deuteranopia (green-blind)
#DFC83B
Tritanopia (blue-blind)
#DEBDAE
Achromatopsia (no color)
#C6C6C6

Design tokens & code

CSS
--color: #cfcb2d;
/* rgb */ color: rgb(207, 203, 45);
/* oklch */ color: oklch(82.0% 0.165 108.0);
Tailwind
colors: {
  custom: {
    50: '#e2da74',
    500: '#cfcb2d',
    950: '#000000',
  },
}
SCSS
$custom: #cfcb2d;
$custom-light: #e2da74;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcb2d",
  "rgb": {
    "r": 207,
    "g": 203,
    "b": 45
  },
  "hsl": {
    "h": 58.519,
    "s": 64.286,
    "l": 49.412
  },
  "oklch": {
    "l": 0.81975,
    "c": 0.16527,
    "h": 108
  },
  "luminance": 0.56167
}

Semantic roles & 50–950 ramp

primary
#CFCB2D
secondary
#2C2E74
accent
#45E741
background
#FEFEFB
surface
#FDFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CFCB2D

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

Preview Lab → · Contrast checker → · Palette generator →

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