#CFAF4A#CFAF4A

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

Color values

HEX#CFAF4A
RGBrgb(207, 175, 74)
HSLhsl(46, 58%, 55%)
HSVhsv(46, 64%, 81%)
CMYKcmyk(0%, 15.5%, 64.3%, 18.8%)
CIE-LABlab(72.51, 0.24, 54.57)
CIE-LCHlch(72.51, 54.57, 89.75°)
OKLaboklab(76.32% -0.0033 0.1244)
OKLCHoklch(76.32% 0.124 91.5)
XYZxyz(42.3002, 44.4221, 12.8235)
Luminance0.4442 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAF4A #4A6ACF
analogous
#CF6C4A #CFAF4A #ACCF4A
triadic
#CFAF4A #4ACFAF #AF4ACF
tetradic
#CFAF4A #4ACF6C #4A6ACF #CF4AAC
square
#CFAF4A #4ACF6C #4A6ACF #CF4AAC
split-complementary
#CFAF4A #4AACCF #6C4ACF
monochromatic
#7D6721 #AE8F2E #CFAF4A #DCC47A #E9DAAB

Accessibility & contrast

On white

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

On black

9.88
#CFAF4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFAF4A
9.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFAF4A#FFFFFF#000000##000000
##CFAF4A1.002.129.889.88
#FFFFFF2.121.0021.0021.00
#0000009.8821.001.001.00
##0000009.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AD3F
Deuteranopia (green-blind)
#C9B64F
Tritanopia (blue-blind)
#DFA299
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cfaf4a;
/* rgb */ color: rgb(207, 175, 74);
/* oklch */ color: oklch(76.3% 0.124 91.5);
Tailwind
colors: {
  custom: {
    50: '#e1c681',
    500: '#cfaf4a',
    950: '#000000',
  },
}
SCSS
$custom: #cfaf4a;
$custom-light: #e1c681;
$custom-dark: #000000;
JSON
{
  "hex": "#cfaf4a",
  "rgb": {
    "r": 207,
    "g": 175,
    "b": 74
  },
  "hsl": {
    "h": 45.564,
    "s": 58.079,
    "l": 55.098
  },
  "oklch": {
    "l": 0.76319,
    "c": 0.12448,
    "h": 91.5
  },
  "luminance": 0.4442
}

Semantic roles & 50–950 ramp

primary
#CFAF4A
secondary
#9FACD6
accent
#6CE146
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFAF4A

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

Preview Lab → · Contrast checker → · Palette generator →

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