#CFB63A#CFB63A

#CFB63A is a light, vivid yellow. Relative luminance 0.470; OKLCH L 77.6% C 0.141 H 97.4°. Best body text is #000000 at 10.41:1 contrast (WCAG AA passes).

Color values

HEX#CFB63A
RGBrgb(207, 182, 58)
HSLhsl(50, 61%, 52%)
HSVhsv(50, 72%, 81%)
CMYKcmyk(0%, 12.1%, 72%, 18.8%)
CIE-LABlab(74.21, -4.32, 62.94)
CIE-LCHlch(74.21, 63.09, 93.93°)
OKLaboklab(77.62% -0.0182 0.1395)
OKLCHoklch(77.62% 0.141 97.4)
XYZxyz(43.2259, 47.0290, 10.8028)
Luminance0.4703 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB63A #3A53CF
analogous
#CF6C3A #CFB63A #9ECF3A
triadic
#CFB63A #3ACFB6 #B63ACF
tetradic
#CFB63A #3ACF6C #3A53CF #CF3A9E
square
#CFB63A #3ACF6C #3A53CF #CF3A9E
split-complementary
#CFB63A #3A9ECF #6C3ACF
monochromatic
#73641C #A48F28 #CFB63A #DBC86B #E7DA9C

Accessibility & contrast

On white

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

On black

10.41
#CFB63A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB63A
10.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB63A#FFFFFF#000000##000000
##CFB63A1.002.0210.4110.41
#FFFFFF2.021.0021.0021.00
#00000010.4121.001.001.00
##00000010.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B226
Deuteranopia (green-blind)
#CFBA42
Tritanopia (blue-blind)
#DFA89D
Achromatopsia (no color)
#B6B6B6

Design tokens & code

CSS
--color: #cfb63a;
/* rgb */ color: rgb(207, 182, 58);
/* oklch */ color: oklch(77.6% 0.141 97.4);
Tailwind
colors: {
  custom: {
    50: '#e2cb78',
    500: '#cfb63a',
    950: '#000000',
  },
}
SCSS
$custom: #cfb63a;
$custom-light: #e2cb78;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb63a",
  "rgb": {
    "r": 207,
    "g": 182,
    "b": 58
  },
  "hsl": {
    "h": 49.933,
    "s": 60.816,
    "l": 51.961
  },
  "oklch": {
    "l": 0.77622,
    "c": 0.14068,
    "h": 97.4
  },
  "luminance": 0.47027
}

Semantic roles & 50–950 ramp

primary
#CFB63A
secondary
#929DD3
accent
#5FE444
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CFB63A

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

Preview Lab → · Contrast checker → · Palette generator →

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