#CFBA62#CFBA62

#CFBA62 is a light, moderate yellow. Relative luminance 0.493; OKLCH L 78.9% C 0.111 H 96.2°. Best body text is #000000 at 10.85:1 contrast (WCAG AA passes).

Color values

HEX#CFBA62
RGBrgb(207, 186, 98)
HSLhsl(48, 53%, 60%)
HSVhsv(48, 53%, 81%)
CMYKcmyk(0%, 10.1%, 52.7%, 18.8%)
CIE-LABlab(75.62, -3.77, 46.86)
CIE-LCHlch(75.62, 47.01, 94.60°)
OKLaboklab(78.85% -0.012 0.1107)
OKLCHoklch(78.85% 0.111 96.2)
XYZxyz(45.4972, 49.2669, 18.6658)
Luminance0.4926 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFBA62 #6277CF
analogous
#CF8362 #CFBA62 #AECF62
triadic
#CFBA62 #62CFBA #BA62CF
tetradic
#CFBA62 #62CF83 #6277CF #CF62AE
square
#CFBA62 #62CF83 #6277CF #CF62AE
split-complementary
#CFBA62 #62AECF #8362CF
monochromatic
#8C792B #BBA239 #CFBA62 #DDCF91 #ECE3C0

Accessibility & contrast

On white

1.93
#CFBA62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.85
#CFBA62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFBA62
10.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFBA62#FFFFFF#000000##000000
##CFBA621.001.9310.8510.85
#FFFFFF1.931.0021.0021.00
#00000010.8521.001.001.00
##00000010.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B65A
Deuteranopia (green-blind)
#CFBD66
Tritanopia (blue-blind)
#DDAFA6
Achromatopsia (no color)
#BABABA

Design tokens & code

CSS
--color: #cfba62;
/* rgb */ color: rgb(207, 186, 98);
/* oklch */ color: oklch(78.9% 0.111 96.2);
Tailwind
colors: {
  custom: {
    50: '#e0ce91',
    500: '#cfba62',
    950: '#000000',
  },
}
SCSS
$custom: #cfba62;
$custom-light: #e0ce91;
$custom-dark: #000000;
JSON
{
  "hex": "#cfba62",
  "rgb": {
    "r": 207,
    "g": 186,
    "b": 98
  },
  "hsl": {
    "h": 48.44,
    "s": 53.171,
    "l": 59.804
  },
  "oklch": {
    "l": 0.78854,
    "c": 0.11137,
    "h": 96.2
  },
  "luminance": 0.49265
}

Semantic roles & 50–950 ramp

primary
#CFBA62
secondary
#B1B9DB
accent
#67DD4B
background
#FEFCF9
surface
#FCF9F1
border
#D5D2CB
text
#16130D
muted
#84827E

Preview Lab

Preview with #CFBA62

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

Preview Lab → · Contrast checker → · Palette generator →

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