#CFAC43#CFAC43

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

Color values

HEX#CFAC43
RGBrgb(207, 172, 67)
HSLhsl(45, 59%, 54%)
HSVhsv(45, 68%, 81%)
CMYKcmyk(0%, 16.9%, 67.6%, 18.8%)
CIE-LABlab(71.68, 1.41, 56.74)
CIE-LCHlch(71.68, 56.76, 88.58°)
OKLaboklab(75.64% -0.0008 0.128)
OKLCHoklch(75.64% 0.128 90.4)
XYZxyz(41.5000, 43.1781, 11.4575)
Luminance0.4318 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAC43 #4366CF
analogous
#CF6643 #CFAC43 #ACCF43
triadic
#CFAC43 #43CFAC #AC43CF
tetradic
#CFAC43 #43CF66 #4366CF #CF43AC
square
#CFAC43 #43CF66 #4366CF #CF43AC
split-complementary
#CFAC43 #43ACCF #6643CF
monochromatic
#79621F #AA8A2B #CFAC43 #DBC274 #E8D7A5

Accessibility & contrast

On white

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

On black

9.64
#CFAC43 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFAC43
9.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFAC43#FFFFFF#000000##000000
##CFAC431.002.189.649.64
#FFFFFF2.181.0021.0021.00
#0000009.6421.001.001.00
##0000009.6421.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfac43;
/* rgb */ color: rgb(207, 172, 67);
/* oklch */ color: oklch(75.6% 0.128 90.4);
Tailwind
colors: {
  custom: {
    50: '#e1c47c',
    500: '#cfac43',
    950: '#000000',
  },
}
SCSS
$custom: #cfac43;
$custom-light: #e1c47c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfac43",
  "rgb": {
    "r": 207,
    "g": 172,
    "b": 67
  },
  "hsl": {
    "h": 45,
    "s": 59.322,
    "l": 53.725
  },
  "oklch": {
    "l": 0.75642,
    "c": 0.12795,
    "h": 90.4
  },
  "luminance": 0.43176
}

Semantic roles & 50–950 ramp

primary
#CFAC43
secondary
#99A8D5
accent
#6DE345
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #CFAC43

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

Preview Lab → · Contrast checker → · Palette generator →

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