#CFBA4E#CFBA4E

#CFBA4E is a light, vivid yellow. Relative luminance 0.489; OKLCH L 78.6% C 0.129 H 98.3°. Best body text is #000000 at 10.79:1 contrast (WCAG AA passes).

Color values

HEX#CFBA4E
RGBrgb(207, 186, 78)
HSLhsl(50, 57%, 56%)
HSVhsv(50, 62%, 81%)
CMYKcmyk(0%, 10.1%, 62.3%, 18.8%)
CIE-LABlab(75.41, -5.28, 55.95)
CIE-LCHlch(75.41, 56.19, 95.39°)
OKLaboklab(78.62% -0.0187 0.128)
OKLCHoklch(78.62% 0.129 98.3)
XYZxyz(44.6680, 48.9353, 14.2989)
Luminance0.4893 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBA4E #4E63CF
analogous
#CF7A4E #CFBA4E #A3CF4E
triadic
#CFBA4E #4ECFBA #BA4ECF
tetradic
#CFBA4E #4ECF7A #4E63CF #CF4EA3
square
#CFBA4E #4ECF7A #4E63CF #CF4EA3
split-complementary
#CFBA4E #4EA3CF #7A4ECF
monochromatic
#807123 #B09B30 #CFBA4E #DCCD7E #E9E0AE

Accessibility & contrast

On white

1.95
#CFBA4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.79
#CFBA4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBA4E
10.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBA4E#FFFFFF#000000##000000
##CFBA4E1.001.9510.7910.79
#FFFFFF1.951.0021.0021.00
#00000010.7921.001.001.00
##00000010.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#CBB642
Deuteranopia (green-blind)
#D1BD53
Tritanopia (blue-blind)
#DEADA3
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cfba4e;
/* rgb */ color: rgb(207, 186, 78);
/* oklch */ color: oklch(78.6% 0.129 98.3);
Tailwind
colors: {
  custom: {
    50: '#e1ce84',
    500: '#cfba4e',
    950: '#000000',
  },
}
SCSS
$custom: #cfba4e;
$custom-light: #e1ce84;
$custom-dark: #000000;
JSON
{
  "hex": "#cfba4e",
  "rgb": {
    "r": 207,
    "g": 186,
    "b": 78
  },
  "hsl": {
    "h": 50.233,
    "s": 57.333,
    "l": 55.882
  },
  "oklch": {
    "l": 0.78624,
    "c": 0.12931,
    "h": 98.3
  },
  "luminance": 0.48933
}

Semantic roles & 50–950 ramp

primary
#CFBA4E
secondary
#A2AAD7
accent
#60E147
background
#FEFCF8
surface
#FCF9EF
border
#D5D2CA
text
#16130B
muted
#84827C

Preview Lab

Preview with #CFBA4E

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

Preview Lab → · Contrast checker → · Palette generator →

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