#CFAF43#CFAF43

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

Color values

HEX#CFAF43
RGBrgb(207, 175, 67)
HSLhsl(46, 59%, 54%)
HSVhsv(46, 68%, 81%)
CMYKcmyk(0%, 15.5%, 67.6%, 18.8%)
CIE-LABlab(72.45, -0.18, 57.55)
CIE-LCHlch(72.45, 57.55, 90.18°)
OKLaboklab(76.25% -0.0054 0.1297)
OKLCHoklch(76.25% 0.13 92.4)
XYZxyz(42.0774, 44.3329, 11.6499)
Luminance0.4433 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAF43 #4363CF
analogous
#CF6943 #CFAF43 #A9CF43
triadic
#CFAF43 #43CFAF #AF43CF
tetradic
#CFAF43 #43CF69 #4363CF #CF43A9
square
#CFAF43 #43CF69 #4363CF #CF43A9
split-complementary
#CFAF43 #43A9CF #6943CF
monochromatic
#79641F #AA8D2B #CFAF43 #DBC474 #E8D8A5

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFAF43#FFFFFF#000000##000000
##CFAF431.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)
#C1AC35
Deuteranopia (green-blind)
#C9B648
Tritanopia (blue-blind)
#DFA199
Achromatopsia (no color)
#B2B2B2

Design tokens & code

CSS
--color: #cfaf43;
/* rgb */ color: rgb(207, 175, 67);
/* oklch */ color: oklch(76.3% 0.130 92.4);
Tailwind
colors: {
  custom: {
    50: '#e1c67d',
    500: '#cfaf43',
    950: '#000000',
  },
}
SCSS
$custom: #cfaf43;
$custom-light: #e1c67d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfaf43",
  "rgb": {
    "r": 207,
    "g": 175,
    "b": 67
  },
  "hsl": {
    "h": 46.286,
    "s": 59.322,
    "l": 53.725
  },
  "oklch": {
    "l": 0.76253,
    "c": 0.12978,
    "h": 92.4
  },
  "luminance": 0.44331
}

Semantic roles & 50–950 ramp

primary
#CFAF43
secondary
#99A7D5
accent
#69E345
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CFAF43

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

Preview Lab → · Contrast checker → · Palette generator →

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