#CFAC36#CFAC36

#CFAC36 is a light, vivid yellow. Relative luminance 0.430; OKLCH L 75.5% C 0.137 H 91.8°. Best body text is #000000 at 9.61:1 contrast (WCAG AA passes).

Color values

HEX#CFAC36
RGBrgb(207, 172, 54)
HSLhsl(46, 61%, 51%)
HSVhsv(46, 74%, 81%)
CMYKcmyk(0%, 16.9%, 73.9%, 18.8%)
CIE-LABlab(71.58, 0.75, 61.90)
CIE-LCHlch(71.58, 61.90, 89.30°)
OKLaboklab(75.54% -0.0042 0.1365)
OKLCHoklch(75.54% 0.137 91.8)
XYZxyz(41.1528, 43.0393, 9.6292)
Luminance0.4304 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAC36 #3659CF
analogous
#CF5F36 #CFAC36 #A5CF36
triadic
#CFAC36 #36CFAC #AC36CF
tetradic
#CFAC36 #36CF5F #3659CF #CF36A5
square
#CFAC36 #36CF5F #3659CF #CF36A5
split-complementary
#CFAC36 #36A5CF #5F36CF
monochromatic
#705C1B #A18527 #CFAC36 #DBC067 #E7D599

Accessibility & contrast

On white

2.19
#CFAC36 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.61
#CFAC36 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFAC36
9.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFAC36#FFFFFF#000000##000000
##CFAC361.002.199.619.61
#FFFFFF2.191.0021.0021.00
#0000009.6121.001.001.00
##0000009.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFAA23
Deuteranopia (green-blind)
#C8B43D
Tritanopia (blue-blind)
#E09E95
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #cfac36;
/* rgb */ color: rgb(207, 172, 54);
/* oklch */ color: oklch(75.5% 0.137 91.8);
Tailwind
colors: {
  custom: {
    50: '#e2c475',
    500: '#cfac36',
    950: '#000000',
  },
}
SCSS
$custom: #cfac36;
$custom-light: #e2c475;
$custom-dark: #000000;
JSON
{
  "hex": "#cfac36",
  "rgb": {
    "r": 207,
    "g": 172,
    "b": 54
  },
  "hsl": {
    "h": 46.275,
    "s": 61.446,
    "l": 51.176
  },
  "oklch": {
    "l": 0.75537,
    "c": 0.13657,
    "h": 91.8
  },
  "luminance": 0.43037
}

Semantic roles & 50–950 ramp

primary
#CFAC36
secondary
#8F9ED2
accent
#68E543
background
#FEFCF7
surface
#FDF8ED
border
#D5D1C8
text
#161209
muted
#84817B

Preview Lab

Preview with #CFAC36

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

Preview Lab → · Contrast checker → · Palette generator →

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