#CFBC4F#CFBC4F

#CFBC4F is a light, vivid yellow. Relative luminance 0.498; OKLCH L 79.1% C 0.130 H 99.4°. Best body text is #000000 at 10.96:1 contrast (WCAG AA passes).

Color values

HEX#CFBC4F
RGBrgb(207, 188, 79)
HSLhsl(51, 57%, 56%)
HSVhsv(51, 62%, 81%)
CMYKcmyk(0%, 9.2%, 61.8%, 18.8%)
CIE-LABlab(75.95, -6.25, 56.09)
CIE-LCHlch(75.95, 56.43, 96.36°)
OKLaboklab(79.05% -0.0214 0.1284)
OKLCHoklch(79.05% 0.13 99.4)
XYZxyz(45.1285, 49.7983, 14.6305)
Luminance0.4980 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBC4F #4F62CF
analogous
#CF7C4F #CFBC4F #A2CF4F
triadic
#CFBC4F #4FCFBC #BC4FCF
tetradic
#CFBC4F #4FCF7C #4F62CF #CF4FA2
square
#CFBC4F #4FCF7C #4F62CF #CF4FA2
split-complementary
#CFBC4F #4FA2CF #7C4FCF
monochromatic
#817323 #B19E30 #CFBC4F #DCCE7F #E9E1AF

Accessibility & contrast

On white

1.92
#CFBC4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.96
#CFBC4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBC4F
10.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBC4F#FFFFFF#000000##000000
##CFBC4F1.001.9210.9610.96
#FFFFFF1.921.0021.0021.00
#00000010.9621.001.001.00
##00000010.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB743
Deuteranopia (green-blind)
#D2BE55
Tritanopia (blue-blind)
#DEAFA5
Achromatopsia (no color)
#BBBBBB

Design tokens & code

CSS
--color: #cfbc4f;
/* rgb */ color: rgb(207, 188, 79);
/* oklch */ color: oklch(79.1% 0.130 99.4);
Tailwind
colors: {
  custom: {
    50: '#e1cf85',
    500: '#cfbc4f',
    950: '#000000',
  },
}
SCSS
$custom: #cfbc4f;
$custom-light: #e1cf85;
$custom-dark: #000000;
JSON
{
  "hex": "#cfbc4f",
  "rgb": {
    "r": 207,
    "g": 188,
    "b": 79
  },
  "hsl": {
    "h": 51.094,
    "s": 57.143,
    "l": 56.078
  },
  "oklch": {
    "l": 0.79051,
    "c": 0.13015,
    "h": 99.4
  },
  "luminance": 0.49796
}

Semantic roles & 50–950 ramp

primary
#CFBC4F
secondary
#A2AAD7
accent
#5EE047
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFBC4F

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

Preview Lab → · Contrast checker → · Palette generator →

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