#CFAF4C#CFAF4C

#CFAF4C is a light, vivid yellow. Relative luminance 0.444; OKLCH L 76.3% C 0.123 H 91.3°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).

Color values

HEX#CFAF4C
RGBrgb(207, 175, 76)
HSLhsl(45, 58%, 55%)
HSVhsv(45, 63%, 81%)
CMYKcmyk(0%, 15.5%, 63.3%, 18.8%)
CIE-LABlab(72.53, 0.36, 53.69)
CIE-LCHlch(72.53, 53.69, 89.61°)
OKLaboklab(76.34% -0.0027 0.1229)
OKLCHoklch(76.34% 0.123 91.3)
XYZxyz(42.3686, 44.4495, 13.1840)
Luminance0.4445 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAF4C #4C6CCF
analogous
#CF6E4C #CFAF4C #ADCF4C
triadic
#CFAF4C #4CCFAF #AF4CCF
tetradic
#CFAF4C #4CCF6E #4C6CCF #CF4CAD
square
#CFAF4C #4CCF6E #4C6CCF #CF4CAD
split-complementary
#CFAF4C #4CADCF #6E4CCF
monochromatic
#7F6822 #AF902F #CFAF4C #DCC57C #E9DAAD

Accessibility & contrast

On white

2.12
#CFAF4C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.89
#CFAF4C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFAF4C
9.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFAF4C#FFFFFF#000000##000000
##CFAF4C1.002.129.899.89
#FFFFFF2.121.0021.0021.00
#0000009.8921.001.001.00
##0000009.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AD41
Deuteranopia (green-blind)
#C9B650
Tritanopia (blue-blind)
#DFA29A
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cfaf4c;
/* rgb */ color: rgb(207, 175, 76);
/* oklch */ color: oklch(76.3% 0.123 91.3);
Tailwind
colors: {
  custom: {
    50: '#e1c682',
    500: '#cfaf4c',
    950: '#000000',
  },
}
SCSS
$custom: #cfaf4c;
$custom-light: #e1c682;
$custom-dark: #000000;
JSON
{
  "hex": "#cfaf4c",
  "rgb": {
    "r": 207,
    "g": 175,
    "b": 76
  },
  "hsl": {
    "h": 45.344,
    "s": 57.709,
    "l": 55.49
  },
  "oklch": {
    "l": 0.76339,
    "c": 0.12289,
    "h": 91.3
  },
  "luminance": 0.44447
}

Semantic roles & 50–950 ramp

primary
#CFAF4C
secondary
#A0ADD7
accent
#6CE147
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFAF4C

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

Preview Lab → · Contrast checker → · Palette generator →

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