#CFCB2F#CFCB2F

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

Color values

HEX#CFCB2F
RGBrgb(207, 203, 47)
HSLhsl(59, 63%, 50%)
HSVhsv(59, 77%, 81%)
CMYKcmyk(0%, 1.9%, 77.3%, 18.8%)
CIE-LABlab(79.72, -15.51, 71.81)
CIE-LCHlch(79.72, 73.47, 102.19°)
OKLaboklab(81.99% -0.0508 0.1563)
OKLCHoklch(81.99% 0.164 108)
XYZxyz(47.6031, 56.1841, 11.0259)
Luminance0.5618 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCB2F #2F33CF
analogous
#CF7B2F #CFCB2F #83CF2F
triadic
#CFCB2F #2FCFCB #CB2FCF
tetradic
#CFCB2F #2FCF7B #2F33CF #CF2F83
square
#CFCB2F #2FCF7B #2F33CF #CF2F83
split-complementary
#CFCB2F #2F83CF #7B2FCF
monochromatic
#6B6918 #9D9A24 #CFCB2F #DBD860 #E6E492

Accessibility & contrast

On white

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

On black

12.24
#CFCB2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCB2F
12.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCB2F#FFFFFF#000000##000000
##CFCB2F1.001.7212.2412.24
#FFFFFF1.721.0021.0021.00
#00000012.2421.001.001.00
##00000012.2421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfcb2f;
/* rgb */ color: rgb(207, 203, 47);
/* oklch */ color: oklch(82.0% 0.164 108.0);
Tailwind
colors: {
  custom: {
    50: '#e2da75',
    500: '#cfcb2f',
    950: '#000000',
  },
}
SCSS
$custom: #cfcb2f;
$custom-light: #e2da75;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcb2f",
  "rgb": {
    "r": 207,
    "g": 203,
    "b": 47
  },
  "hsl": {
    "h": 58.5,
    "s": 62.992,
    "l": 49.804
  },
  "oklch": {
    "l": 0.81985,
    "c": 0.16433,
    "h": 108
  },
  "luminance": 0.56183
}

Semantic roles & 50–950 ramp

primary
#CFCB2F
secondary
#2D2F75
accent
#46E642
background
#FEFEFB
surface
#FDFBF1
border
#D5D4CB
text
#161409
muted
#84837D

Preview Lab

Preview with #CFCB2F

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

Preview Lab → · Contrast checker → · Palette generator →

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