#CFAE43#CFAE43

#CFAE43 is a light, vivid yellow. Relative luminance 0.439; OKLCH L 76.0% C 0.129 H 91.7°. Best body text is #000000 at 9.79:1 contrast (WCAG AA passes).

Color values

HEX#CFAE43
RGBrgb(207, 174, 67)
HSLhsl(46, 59%, 54%)
HSVhsv(46, 68%, 81%)
CMYKcmyk(0%, 15.9%, 67.6%, 18.8%)
CIE-LABlab(72.19, 0.35, 57.28)
CIE-LCHlch(72.19, 57.28, 89.65°)
OKLaboklab(76.05% -0.0038 0.1291)
OKLCHoklch(76.05% 0.129 91.7)
XYZxyz(41.8835, 43.9451, 11.5853)
Luminance0.4394 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAE43 #4364CF
analogous
#CF6843 #CFAE43 #AACF43
triadic
#CFAE43 #43CFAE #AE43CF
tetradic
#CFAE43 #43CF68 #4364CF #CF43AA
square
#CFAE43 #43CF68 #4364CF #CF43AA
split-complementary
#CFAE43 #43AACF #6843CF
monochromatic
#79641F #AA8C2B #CFAE43 #DBC374 #E8D8A5

Accessibility & contrast

On white

2.15
#CFAE43 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.79
#CFAE43 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFAE43
9.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFAE43#FFFFFF#000000##000000
##CFAE431.002.159.799.79
#FFFFFF2.151.0021.0021.00
#0000009.7921.001.001.00
##0000009.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AB36
Deuteranopia (green-blind)
#C8B548
Tritanopia (blue-blind)
#DFA098
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cfae43;
/* rgb */ color: rgb(207, 174, 67);
/* oklch */ color: oklch(76.0% 0.129 91.7);
Tailwind
colors: {
  custom: {
    50: '#e1c57c',
    500: '#cfae43',
    950: '#000000',
  },
}
SCSS
$custom: #cfae43;
$custom-light: #e1c57c;
$custom-dark: #000000;
JSON
{
  "hex": "#cfae43",
  "rgb": {
    "r": 207,
    "g": 174,
    "b": 67
  },
  "hsl": {
    "h": 45.857,
    "s": 59.322,
    "l": 53.725
  },
  "oklch": {
    "l": 0.76049,
    "c": 0.12916,
    "h": 91.7
  },
  "luminance": 0.43943
}

Semantic roles & 50–950 ramp

primary
#CFAE43
secondary
#99A7D5
accent
#6AE345
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16120A
muted
#84817C

Preview Lab

Preview with #CFAE43

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

Preview Lab → · Contrast checker → · Palette generator →

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