#CFB43A#CFB43A

#CFB43A is a light, vivid yellow. Relative luminance 0.462; OKLCH L 77.2% C 0.139 H 96.3°. Best body text is #000000 at 10.24:1 contrast (WCAG AA passes).

Color values

HEX#CFB43A
RGBrgb(207, 180, 58)
HSLhsl(49, 61%, 52%)
HSVhsv(49, 72%, 81%)
CMYKcmyk(0%, 13%, 72%, 18.8%)
CIE-LABlab(73.69, -3.28, 62.43)
CIE-LCHlch(73.69, 62.52, 93.00°)
OKLaboklab(77.21% -0.0152 0.1384)
OKLCHoklch(77.21% 0.139 96.3)
XYZxyz(42.8193, 46.2157, 10.6673)
Luminance0.4621 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#CFB43A #3A55CF
analogous
#CF6A3A #CFB43A #9FCF3A
triadic
#CFB43A #3ACFB4 #B43ACF
tetradic
#CFB43A #3ACF6A #3A55CF #CF3A9F
square
#CFB43A #3ACF6A #3A55CF #CF3A9F
split-complementary
#CFB43A #3A9FCF #6A3ACF
monochromatic
#73631C #A48D28 #CFB43A #DBC76B #E7D99C

Accessibility & contrast

On white

2.05
#CFB43A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

10.24
#CFB43A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #CFB43A
10.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##CFB43A#FFFFFF#000000##000000
##CFB43A1.002.0510.2410.24
#FFFFFF2.051.0021.0021.00
#00000010.2421.001.001.00
##00000010.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C6B027
Deuteranopia (green-blind)
#CDB941
Tritanopia (blue-blind)
#DFA69C
Achromatopsia (no color)
#B5B5B5

Design tokens & code

CSS
--color: #cfb43a;
/* rgb */ color: rgb(207, 180, 58);
/* oklch */ color: oklch(77.2% 0.139 96.3);
Tailwind
colors: {
  custom: {
    50: '#e2ca78',
    500: '#cfb43a',
    950: '#000000',
  },
}
SCSS
$custom: #cfb43a;
$custom-light: #e2ca78;
$custom-dark: #000000;
JSON
{
  "hex": "#cfb43a",
  "rgb": {
    "r": 207,
    "g": 180,
    "b": 58
  },
  "hsl": {
    "h": 49.128,
    "s": 60.816,
    "l": 51.961
  },
  "oklch": {
    "l": 0.77208,
    "c": 0.13924,
    "h": 96.3
  },
  "luminance": 0.46213
}

Semantic roles & 50–950 ramp

primary
#CFB43A
secondary
#929ED3
accent
#61E444
background
#FEFCF7
surface
#FDF8EE
border
#D5D1C9
text
#161309
muted
#84827B

Preview Lab

Preview with #CFB43A

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

Preview Lab → · Contrast checker → · Palette generator →

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