#CFB642#CFB642

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

Color values

HEX#CFB642
RGBrgb(207, 182, 66)
HSLhsl(49, 59%, 54%)
HSVhsv(49, 68%, 81%)
CMYKcmyk(0%, 12.1%, 68.1%, 18.8%)
CIE-LABlab(74.26, -3.91, 59.85)
CIE-LCHlch(74.26, 59.98, 93.74°)
OKLaboklab(77.69% -0.0162 0.1344)
OKLCHoklch(77.69% 0.135 96.9)
XYZxyz(43.4455, 47.1168, 11.9593)
Luminance0.4712 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB642 #425BCF
analogous
#CF6F42 #CFB642 #A1CF42
triadic
#CFB642 #42CFB6 #B642CF
tetradic
#CFB642 #42CF6F #425BCF #CF42A1
square
#CFB642 #42CF6F #425BCF #CF42A1
split-complementary
#CFB642 #42A1CF #6F42CF
monochromatic
#78681F #A9932B #CFB642 #DBC973 #E8DCA4

Accessibility & contrast

On white

2.01
#CFB642 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##CFB642#FFFFFF#000000##000000
##CFB6421.002.0110.4210.42
#FFFFFF2.011.0021.0021.00
#00000010.4221.001.001.00
##00000010.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B232
Deuteranopia (green-blind)
#CEBA48
Tritanopia (blue-blind)
#DFA99E
Achromatopsia (no color)
#B7B7B7

Design tokens & code

CSS
--color: #cfb642;
/* rgb */ color: rgb(207, 182, 66);
/* oklch */ color: oklch(77.7% 0.135 96.9);
Tailwind
colors: {
  custom: {
    50: '#e1cb7d',
    500: '#cfb642',
    950: '#000000',
  },
}
SCSS
$custom: #cfb642;
$custom-light: #e1cb7d;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb642",
  "rgb": {
    "r": 207,
    "g": 182,
    "b": 66
  },
  "hsl": {
    "h": 49.362,
    "s": 59.494,
    "l": 53.529
  },
  "oklch": {
    "l": 0.77685,
    "c": 0.13532,
    "h": 96.9
  },
  "luminance": 0.47115
}

Semantic roles & 50–950 ramp

primary
#CFB642
secondary
#98A3D5
accent
#61E345
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#16130A
muted
#84827C

Preview Lab

Preview with #CFB642

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

Preview Lab → · Contrast checker → · Palette generator →

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