#CFBA41#CFBA41

#CFBA41 is a light, vivid yellow. Relative luminance 0.488; OKLCH L 78.5% C 0.139 H 99.3°. Best body text is #000000 at 10.75:1 contrast (WCAG AA passes).

Color values

HEX#CFBA41
RGBrgb(207, 186, 65)
HSLhsl(51, 60%, 53%)
HSVhsv(51, 69%, 81%)
CMYKcmyk(0%, 10.1%, 68.6%, 18.8%)
CIE-LABlab(75.31, -6.05, 61.32)
CIE-LCHlch(75.31, 61.61, 95.63°)
OKLaboklab(78.51% -0.0224 0.1373)
OKLCHoklch(78.51% 0.139 99.3)
XYZxyz(44.2472, 48.7669, 12.0823)
Luminance0.4876 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBA41 #4156CF
analogous
#CF7341 #CFBA41 #9DCF41
triadic
#CFBA41 #41CFBA #BA41CF
tetradic
#CFBA41 #41CF73 #4156CF #CF419D
square
#CFBA41 #41CF73 #4156CF #CF419D
split-complementary
#CFBA41 #419DCF #7341CF
monochromatic
#776A1E #A8962B #CFBA41 #DBCC72 #E8DDA3

Accessibility & contrast

On white

1.95
#CFBA41 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.75
#CFBA41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBA41
10.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBA41#FFFFFF#000000##000000
##CFBA411.001.9510.7510.75
#FFFFFF1.951.0021.0021.00
#00000010.7521.001.001.00
##00000010.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#CCB530
Deuteranopia (green-blind)
#D1BD48
Tritanopia (blue-blind)
#DFADA1
Achromatopsia (no color)
#B9B9B9

Design tokens & code

CSS
--color: #cfba41;
/* rgb */ color: rgb(207, 186, 65);
/* oklch */ color: oklch(78.5% 0.139 99.3);
Tailwind
colors: {
  custom: {
    50: '#e1ce7c',
    500: '#cfba41',
    950: '#000000',
  },
}
SCSS
$custom: #cfba41;
$custom-light: #e1ce7c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfba41",
  "rgb": {
    "r": 207,
    "g": 186,
    "b": 65
  },
  "hsl": {
    "h": 51.127,
    "s": 59.664,
    "l": 53.333
  },
  "oklch": {
    "l": 0.78508,
    "c": 0.1391,
    "h": 99.3
  },
  "luminance": 0.48765
}

Semantic roles & 50–950 ramp

primary
#CFBA41
secondary
#97A0D4
accent
#5CE345
background
#FEFCF7
surface
#FCF9EE
border
#D5D2C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CFBA41

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

Preview Lab → · Contrast checker → · Palette generator →

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