#CFCB3B#CFCB3B

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

Color values

HEX#CFCB3B
RGBrgb(207, 203, 59)
HSLhsl(58, 61%, 52%)
HSVhsv(58, 71%, 81%)
CMYKcmyk(0%, 1.9%, 71.5%, 18.8%)
CIE-LABlab(79.78, -15.01, 67.99)
CIE-LCHlch(79.78, 69.62, 102.45°)
OKLaboklab(82.06% -0.0483 0.1503)
OKLCHoklch(82.06% 0.158 107.8)
XYZxyz(47.8793, 56.2946, 12.4807)
Luminance0.5629 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCB3B #3B3FCF
analogous
#CF813B #CFCB3B #89CF3B
triadic
#CFCB3B #3BCFCB #CB3BCF
tetradic
#CFCB3B #3BCF81 #3B3FCF #CF3B89
square
#CFCB3B #3BCF81 #3B3FCF #CF3B89
split-complementary
#CFCB3B #3B89CF #813BCF
monochromatic
#73711C #A5A128 #CFCB3B #DBD86C #E7E59D

Accessibility & contrast

On white

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

On black

12.26
#CFCB3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCB3B
12.26:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCB3B#FFFFFF#000000##000000
##CFCB3B1.001.7112.2612.26
#FFFFFF1.711.0021.0021.00
#00000012.2621.001.001.00
##00000012.2621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfcb3b;
/* rgb */ color: rgb(207, 203, 59);
/* oklch */ color: oklch(82.1% 0.158 107.8);
Tailwind
colors: {
  custom: {
    50: '#e1da7b',
    500: '#cfcb3b',
    950: '#000000',
  },
}
SCSS
$custom: #cfcb3b;
$custom-light: #e1da7b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcb3b",
  "rgb": {
    "r": 207,
    "g": 203,
    "b": 59
  },
  "hsl": {
    "h": 58.378,
    "s": 60.656,
    "l": 52.157
  },
  "oklch": {
    "l": 0.82055,
    "c": 0.15791,
    "h": 107.8
  },
  "luminance": 0.56293
}

Semantic roles & 50–950 ramp

primary
#CFCB3B
secondary
#32347C
accent
#48E444
background
#FEFEFB
surface
#FDFBF2
border
#D5D4CC
text
#16140A
muted
#84837D

Preview Lab

Preview with #CFCB3B

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

Preview Lab → · Contrast checker → · Palette generator →

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