#CFAC41#CFAC41

#CFAC41 is a light, vivid yellow. Relative luminance 0.432; OKLCH L 75.6% C 0.129 H 90.6°. Best body text is #000000 at 9.63:1 contrast (WCAG AA passes).

Color values

HEX#CFAC41
RGBrgb(207, 172, 65)
HSLhsl(45, 60%, 53%)
HSVhsv(45, 69%, 81%)
CMYKcmyk(0%, 16.9%, 68.6%, 18.8%)
CIE-LABlab(71.66, 1.30, 57.58)
CIE-LCHlch(71.66, 57.59, 88.71°)
OKLaboklab(75.62% -0.0014 0.1294)
OKLCHoklch(75.62% 0.129 90.6)
XYZxyz(41.4410, 43.1545, 11.1469)
Luminance0.4315 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAC41 #4164CF
analogous
#CF6541 #CFAC41 #ABCF41
triadic
#CFAC41 #41CFAC #AC41CF
tetradic
#CFAC41 #41CF65 #4164CF #CF41AB
square
#CFAC41 #41CF65 #4164CF #CF41AB
split-complementary
#CFAC41 #41ABCF #6541CF
monochromatic
#77611E #A8892B #CFAC41 #DBC172 #E8D7A3

Accessibility & contrast

On white

2.18
#CFAC41 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.63
#CFAC41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFAC41
9.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFAC41#FFFFFF#000000##000000
##CFAC411.002.189.639.63
#FFFFFF2.181.0021.0021.00
#0000009.6321.001.001.00
##0000009.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA33
Deuteranopia (green-blind)
#C7B446
Tritanopia (blue-blind)
#E09E96
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #cfac41;
/* rgb */ color: rgb(207, 172, 65);
/* oklch */ color: oklch(75.6% 0.129 90.6);
Tailwind
colors: {
  custom: {
    50: '#e1c47b',
    500: '#cfac41',
    950: '#000000',
  },
}
SCSS
$custom: #cfac41;
$custom-light: #e1c47b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfac41",
  "rgb": {
    "r": 207,
    "g": 172,
    "b": 65
  },
  "hsl": {
    "h": 45.211,
    "s": 59.664,
    "l": 53.333
  },
  "oklch": {
    "l": 0.75624,
    "c": 0.12939,
    "h": 90.6
  },
  "luminance": 0.43152
}

Semantic roles & 50–950 ramp

primary
#CFAC41
secondary
#97A6D4
accent
#6CE345
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #CFAC41

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

Preview Lab → · Contrast checker → · Palette generator →

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