#CFAF46#CFAF46

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

Color values

HEX#CFAF46
RGBrgb(207, 175, 70)
HSLhsl(46, 59%, 54%)
HSVhsv(46, 66%, 81%)
CMYKcmyk(0%, 15.5%, 66.2%, 18.8%)
CIE-LABlab(72.47, -0.01, 56.29)
CIE-LCHlch(72.47, 56.29, 90.01°)
OKLaboklab(76.28% -0.0045 0.1275)
OKLCHoklch(76.28% 0.128 92)
XYZxyz(42.1697, 44.3699, 12.1362)
Luminance0.4437 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAF46 #4666CF
analogous
#CF6B46 #CFAF46 #ABCF46
triadic
#CFAF46 #46CFAF #AF46CF
tetradic
#CFAF46 #46CF6B #4666CF #CF46AB
square
#CFAF46 #46CF6B #4666CF #CF46AB
split-complementary
#CFAF46 #46ABCF #6B46CF
monochromatic
#7B6620 #AB8E2C #CFAF46 #DCC477 #E8D9A7

Accessibility & contrast

On white

2.13
#CFAF46 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.87
#CFAF46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFAF46
9.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFAF46#FFFFFF#000000##000000
##CFAF461.002.139.879.87
#FFFFFF2.131.0021.0021.00
#0000009.8721.001.001.00
##0000009.8721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #cfaf46;
/* rgb */ color: rgb(207, 175, 70);
/* oklch */ color: oklch(76.3% 0.128 92.0);
Tailwind
colors: {
  custom: {
    50: '#e1c67e',
    500: '#cfaf46',
    950: '#000000',
  },
}
SCSS
$custom: #cfaf46;
$custom-light: #e1c67e;
$custom-dark: #000000;
JSON
{
  "hex": "#cfaf46",
  "rgb": {
    "r": 207,
    "g": 175,
    "b": 70
  },
  "hsl": {
    "h": 45.985,
    "s": 58.798,
    "l": 54.314
  },
  "oklch": {
    "l": 0.7628,
    "c": 0.12756,
    "h": 92
  },
  "luminance": 0.44368
}

Semantic roles & 50–950 ramp

primary
#CFAF46
secondary
#9BA9D5
accent
#6AE246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CFAF46

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

Preview Lab → · Contrast checker → · Palette generator →

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