#CFCF3B#CFCF3B

#CFCF3B is a very light, vivid yellow. Relative luminance 0.582; OKLCH L 82.9% C 0.162 H 109.5°. Best body text is #000000 at 12.64:1 contrast (WCAG AA passes).

Color values

HEX#CFCF3B
RGBrgb(207, 207, 59)
HSLhsl(60, 61%, 52%)
HSVhsv(60, 71%, 81%)
CMYKcmyk(0%, 0%, 71.5%, 18.8%)
CIE-LABlab(80.85, -17.01, 69.02)
CIE-LCHlch(80.85, 71.08, 103.84°)
OKLaboklab(82.91% -0.0539 0.1525)
OKLCHoklch(82.91% 0.162 109.5)
XYZxyz(48.8361, 58.2083, 12.7996)
Luminance0.5821 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFCF3B #3B3BCF
analogous
#CF853B #CFCF3B #85CF3B
triadic
#CFCF3B #3BCFCF #CF3BCF
tetradic
#CFCF3B #3BCF85 #3B3BCF #CF3B85
square
#CFCF3B #3BCF85 #3B3BCF #CF3B85
split-complementary
#CFCF3B #3B85CF #853BCF
monochromatic
#73731C #A5A528 #CFCF3B #DBDB6C #E7E79D

Accessibility & contrast

On white

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

On black

12.64
#CFCF3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFCF3B
12.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFCF3B#FFFFFF#000000##000000
##CFCF3B1.001.6612.6412.64
#FFFFFF1.661.0021.0021.00
#00000012.6421.001.001.00
##00000012.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#E0C61F
Deuteranopia (green-blind)
#E1CB46
Tritanopia (blue-blind)
#DEC2B2
Achromatopsia (no color)
#C9C9C9

Design tokens & code

CSS
--color: #cfcf3b;
/* rgb */ color: rgb(207, 207, 59);
/* oklch */ color: oklch(82.9% 0.162 109.5);
Tailwind
colors: {
  custom: {
    50: '#e1dd7b',
    500: '#cfcf3b',
    950: '#000000',
  },
}
SCSS
$custom: #cfcf3b;
$custom-light: #e1dd7b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfcf3b",
  "rgb": {
    "r": 207,
    "g": 207,
    "b": 59
  },
  "hsl": {
    "h": 60,
    "s": 60.656,
    "l": 52.157
  },
  "oklch": {
    "l": 0.82911,
    "c": 0.16176,
    "h": 109.5
  },
  "luminance": 0.58207
}

Semantic roles & 50–950 ramp

primary
#CFCF3B
secondary
#32327C
accent
#44E444
background
#FEFEFB
surface
#FDFCF2
border
#D5D5CC
text
#16150A
muted
#84847D

Preview Lab

Preview with #CFCF3B

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

Preview Lab → · Contrast checker → · Palette generator →

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