#CFAE4B#CFAE4B

#CFAE4B is a light, vivid yellow. Relative luminance 0.440; OKLCH L 76.1% C 0.123 H 90.7°. Best body text is #000000 at 9.81:1 contrast (WCAG AA passes).

Color values

HEX#CFAE4B
RGBrgb(207, 174, 75)
HSLhsl(45, 58%, 55%)
HSVhsv(45, 64%, 81%)
CMYKcmyk(0%, 15.9%, 63.8%, 18.8%)
CIE-LABlab(72.26, 0.83, 53.85)
CIE-LCHlch(72.26, 53.85, 89.12°)
OKLaboklab(76.13% -0.0015 0.1231)
OKLCHoklch(76.13% 0.123 90.7)
XYZxyz(42.1402, 44.0479, 12.9377)
Luminance0.4405 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAE4B #4B6CCF
analogous
#CF6C4B #CFAE4B #AECF4B
triadic
#CFAE4B #4BCFAE #AE4BCF
tetradic
#CFAE4B #4BCF6C #4B6CCF #CF4BAE
square
#CFAE4B #4BCF6C #4B6CCF #CF4BAE
split-complementary
#CFAE4B #4BAECF #6C4BCF
monochromatic
#7E6722 #AE8E2E #CFAE4B #DCC47B #E9D9AC

Accessibility & contrast

On white

2.14
#CFAE4B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.81
#CFAE4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFAE4B
9.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFAE4B#FFFFFF#000000##000000
##CFAE4B1.002.149.819.81
#FFFFFF2.141.0021.0021.00
#0000009.8121.001.001.00
##0000009.8121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0AC40
Deuteranopia (green-blind)
#C8B54F
Tritanopia (blue-blind)
#DFA199
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cfae4b;
/* rgb */ color: rgb(207, 174, 75);
/* oklch */ color: oklch(76.1% 0.123 90.7);
Tailwind
colors: {
  custom: {
    50: '#e1c581',
    500: '#cfae4b',
    950: '#000000',
  },
}
SCSS
$custom: #cfae4b;
$custom-light: #e1c581;
$custom-dark: #000000;
JSON
{
  "hex": "#cfae4b",
  "rgb": {
    "r": 207,
    "g": 174,
    "b": 75
  },
  "hsl": {
    "h": 45,
    "s": 57.895,
    "l": 55.294
  },
  "oklch": {
    "l": 0.76125,
    "c": 0.12307,
    "h": 90.7
  },
  "luminance": 0.44046
}

Semantic roles & 50–950 ramp

primary
#CFAE4B
secondary
#9FADD6
accent
#6DE147
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16120B
muted
#84817C

Preview Lab

Preview with #CFAE4B

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

Preview Lab → · Contrast checker → · Palette generator →

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