#CFAC3F#CFAC3F

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

Color values

HEX#CFAC3F
RGBrgb(207, 172, 63)
HSLhsl(45, 60%, 53%)
HSVhsv(45, 70%, 81%)
CMYKcmyk(0%, 16.9%, 69.6%, 18.8%)
CIE-LABlab(71.64, 1.19, 58.40)
CIE-LCHlch(71.64, 58.41, 88.83°)
OKLaboklab(75.61% -0.0019 0.1308)
OKLCHoklch(75.61% 0.131 90.8)
XYZxyz(41.3841, 43.1318, 10.8472)
Luminance0.4313 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAC3F #3F62CF
analogous
#CF643F #CFAC3F #AACF3F
triadic
#CFAC3F #3FCFAC #AC3FCF
tetradic
#CFAC3F #3FCF64 #3F62CF #CF3FAA
square
#CFAC3F #3FCF64 #3F62CF #CF3FAA
split-complementary
#CFAC3F #3FAACF #643FCF
monochromatic
#76611E #A7892A #CFAC3F #DBC170 #E7D6A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFAC3F#FFFFFF#000000##000000
##CFAC3F1.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)
#BFAA30
Deuteranopia (green-blind)
#C7B444
Tritanopia (blue-blind)
#E09E96
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #cfac3f;
/* rgb */ color: rgb(207, 172, 63);
/* oklch */ color: oklch(75.6% 0.131 90.8);
Tailwind
colors: {
  custom: {
    50: '#e2c47a',
    500: '#cfac3f',
    950: '#000000',
  },
}
SCSS
$custom: #cfac3f;
$custom-light: #e2c47a;
$custom-dark: #000000;
JSON
{
  "hex": "#cfac3f",
  "rgb": {
    "r": 207,
    "g": 172,
    "b": 63
  },
  "hsl": {
    "h": 45.417,
    "s": 60,
    "l": 52.941
  },
  "oklch": {
    "l": 0.75607,
    "c": 0.13078,
    "h": 90.8
  },
  "luminance": 0.43129
}

Semantic roles & 50–950 ramp

primary
#CFAC3F
secondary
#96A5D4
accent
#6BE345
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #CFAC3F

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

Preview Lab → · Contrast checker → · Palette generator →

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