#CFB640#CFB640

#CFB640 is a light, vivid yellow. Relative luminance 0.471; OKLCH L 77.7% C 0.137 H 97.0°. Best body text is #000000 at 10.42:1 contrast (WCAG AA passes).

Color values

HEX#CFB640
RGBrgb(207, 182, 64)
HSLhsl(50, 60%, 53%)
HSVhsv(50, 69%, 81%)
CMYKcmyk(0%, 12.1%, 69.1%, 18.8%)
CIE-LABlab(74.25, -4.02, 60.64)
CIE-LCHlch(74.25, 60.78, 93.79°)
OKLaboklab(77.67% -0.0167 0.1357)
OKLCHoklch(77.67% 0.137 97)
XYZxyz(43.3876, 47.0936, 11.6541)
Luminance0.4709 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB640 #4059CF
analogous
#CF6E40 #CFB640 #A1CF40
triadic
#CFB640 #40CFB6 #B640CF
tetradic
#CFB640 #40CF6E #4059CF #CF40A1
square
#CFB640 #40CF6E #4059CF #CF40A1
split-complementary
#CFB640 #40A1CF #6E40CF
monochromatic
#77671E #A8922A #CFB640 #DBC971 #E8DBA2

Accessibility & contrast

On white

2.02
#CFB640 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.42
#CFB640 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB640
10.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB640#FFFFFF#000000##000000
##CFB6401.002.0210.4210.42
#FFFFFF2.021.0021.0021.00
#00000010.4221.001.001.00
##00000010.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B230
Deuteranopia (green-blind)
#CEBA47
Tritanopia (blue-blind)
#DFA89E
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #cfb640;
/* rgb */ color: rgb(207, 182, 64);
/* oklch */ color: oklch(77.7% 0.137 97.0);
Tailwind
colors: {
  custom: {
    50: '#e1cb7b',
    500: '#cfb640',
    950: '#000000',
  },
}
SCSS
$custom: #cfb640;
$custom-light: #e1cb7b;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb640",
  "rgb": {
    "r": 207,
    "g": 182,
    "b": 64
  },
  "hsl": {
    "h": 49.51,
    "s": 59.833,
    "l": 53.137
  },
  "oklch": {
    "l": 0.77668,
    "c": 0.13673,
    "h": 97
  },
  "luminance": 0.47091
}

Semantic roles & 50–950 ramp

primary
#CFB640
secondary
#97A1D4
accent
#60E345
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CFB640

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

Preview Lab → · Contrast checker → · Palette generator →

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