#CFAE3B#CFAE3B

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

Color values

HEX#CFAE3B
RGBrgb(207, 174, 59)
HSLhsl(47, 61%, 52%)
HSVhsv(47, 71%, 81%)
CMYKcmyk(0%, 15.9%, 71.5%, 18.8%)
CIE-LABlab(72.13, -0.07, 60.51)
CIE-LCHlch(72.13, 60.51, 90.07°)
OKLaboklab(75.98% -0.006 0.1345)
OKLCHoklch(75.98% 0.135 92.5)
XYZxyz(41.6598, 43.8557, 10.4075)
Luminance0.4385 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFAE3B #3B5CCF
analogous
#CF643B #CFAE3B #A6CF3B
triadic
#CFAE3B #3BCFAE #AE3BCF
tetradic
#CFAE3B #3BCF64 #3B5CCF #CF3BA6
square
#CFAE3B #3BCF64 #3B5CCF #CF3BA6
split-complementary
#CFAE3B #3BA6CF #643BCF
monochromatic
#73601C #A58928 #CFAE3B #DBC26C #E7D79D

Accessibility & contrast

On white

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

On black

9.77
#CFAE3B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFAE3B
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFAE3B#FFFFFF#000000##000000
##CFAE3B1.002.159.779.77
#FFFFFF2.151.0021.0021.00
#0000009.7721.001.001.00
##0000009.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AB2A
Deuteranopia (green-blind)
#C9B541
Tritanopia (blue-blind)
#E0A097
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #cfae3b;
/* rgb */ color: rgb(207, 174, 59);
/* oklch */ color: oklch(76.0% 0.135 92.5);
Tailwind
colors: {
  custom: {
    50: '#e2c578',
    500: '#cfae3b',
    950: '#000000',
  },
}
SCSS
$custom: #cfae3b;
$custom-light: #e2c578;
$custom-dark: #000000;
JSON
{
  "hex": "#cfae3b",
  "rgb": {
    "r": 207,
    "g": 174,
    "b": 59
  },
  "hsl": {
    "h": 46.622,
    "s": 60.656,
    "l": 52.157
  },
  "oklch": {
    "l": 0.75982,
    "c": 0.13464,
    "h": 92.5
  },
  "luminance": 0.43853
}

Semantic roles & 50–950 ramp

primary
#CFAE3B
secondary
#93A1D3
accent
#68E444
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161209
muted
#84817B

Preview Lab

Preview with #CFAE3B

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

Preview Lab → · Contrast checker → · Palette generator →

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